[Pharo-project] What is the story for fasterSets
2009/7/14 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Hi guys
what is the conclusion for the faster sets?
Stef
I am not quite sure what the conclusion was but based on the comments I suggest that I release a new version of FasterSets with the following changes: 1) change method name noCompareAdd: to noCompareOrGrowAdd: This helps emphasize that it can't be used publicly. 2) Add methods addNew: and nastyAddNew: I tried to generate a discussion on these methods but none was forthcoming. I am inclined to add them to FasterSets so that anybody who wants to can use them. I assume they will NOT be added to Pharo. The method noCompareAdd: currently updates the tally value and it has been proposed to move this step outside of noCompareAdd: or create a method noCompareAddAll: or both. I can do this or someone else can. If someone else does this then I strongly encourage that that they release the change to FasterSets first. I will add whoever does this to the list of those able to modify FasterSets. Note that I want to incorporate FasterSets to any version of Smalltalk that would benefit from it so I want it to contain the final code that Pharo uses. Also note that I was recently told that GNU Smalltalk already does what FasterSets does. Regards, Ralph Boland
Hi ralph
I am not quite sure what the conclusion was but based on the comments I suggest that I release a new version of FasterSets with the following changes: 1) change method name noCompareAdd: to noCompareOrGrowAdd: This helps emphasize that it can't be used publicly. 2) Add methods addNew: and nastyAddNew: I tried to generate a discussion on these methods but none was forthcoming. I am inclined to add them to FasterSets so that anybody who wants to can use them. I assume they will NOT be added to Pharo.
why? we all want fast set :)
The method noCompareAdd: currently updates the tally value and it has been proposed to move this step outside of noCompareAdd: or create a method noCompareAddAll: or both. I can do this or someone else can. If someone else does this then I strongly encourage that that they release the change to FasterSets first. I will add whoever does this to the list of those able to modify FasterSets.
Note that I want to incorporate FasterSets to any version of Smalltalk that would benefit from it so I want it to contain the final code that Pharo uses.
excellent!
Also note that I was recently told that GNU Smalltalk already does what FasterSets does.
So let me know when you have a new version that we can incorporate. I do not believe in big changes but in avalanches of small incremental ones
Regards,
Ralph Boland
On Thu, Jul 16, 2009 at 11:30 AM, Stéphane Ducasse<stephane.ducasse@inria.fr> wrote:
 2)  Add methods  addNew:  and nastyAddNew:     I tried to generate a discussion on these methods but none was forthcoming.     I am inclined to add them to FasterSets so that anybody who wants to can     use them.  I assume they will NOT be added to Pharo.
why? we all want fast set :)
Because they are not necessary to get faster sets. But they might still be useful. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
participants (3)
-
Damien Cassou -
Ralph Boland -
Stéphane Ducasse