[squeak-dev] Faster Sets Project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Faster Sets Project

Ralph Boland
I finally released my first project to the www.squeaksource.com repository.
Its called FasterSets.  It makes sets faster by not doing compares during
grow operations which makes adding to sets use about 14% fewer compares
on average during an add: operation assuming no deletions or preallocation
of space before adding elements. Code for measuring performance is included.
See Class FastSetsComment.

Comments welcome.

I consider the project complete but am willing to make changes as required
or give permissions for others to do so or to take over the project.

My hope is that this code will be incorporated into Squeak someday.
I have not signed any release forms to allow this but am willing to do
so.

The project runs in Squeak 3.10.2  but can be easily modified to work
in previous
versions of Squeak.

Regards

Ralph Boland

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Faster Sets Project

Damien Cassou-3
Hi Ralph,

if you would like your new implementation to replace the old one in
Squeak, you might want to write unit tests. These tests ensure that
there is no problem.

Have a nice day

On Sat, Jun 20, 2009 at 3:21 PM, Ralph Boland<[hidden email]> wrote:

> I finally released my first project to the www.squeaksource.com repository.
> Its called FasterSets.  It makes sets faster by not doing compares during
> grow operations which makes adding to sets use about 14% fewer compares
> on average during an add: operation assuming no deletions or preallocation
> of space before adding elements. Code for measuring performance is included.
> See Class FastSetsComment.
>
> Comments welcome.
>
> I consider the project complete but am willing to make changes as required
> or give permissions for others to do so or to take over the project.
>
> My hope is that this code will be incorporated into Squeak someday.
> I have not signed any release forms to allow this but am willing to do
> so.
>
> The project runs in Squeak 3.10.2  but can be easily modified to work
> in previous
> versions of Squeak.
>
> Regards
>
> Ralph Boland
>
>



--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Faster Sets Project

Nicolas Cellier
Concerning the licence, please consider using MIT if you want integration in Squeak/Pharo.

Nicolas

2009/6/21 Damien Cassou <[hidden email]>
Hi Ralph,

if you would like your new implementation to replace the old one in
Squeak, you might want to write unit tests. These tests ensure that
there is no problem.

Have a nice day

On Sat, Jun 20, 2009 at 3:21 PM, Ralph Boland<[hidden email]> wrote:
> I finally released my first project to the www.squeaksource.com repository.
> Its called FasterSets.  It makes sets faster by not doing compares during
> grow operations which makes adding to sets use about 14% fewer compares
> on average during an add: operation assuming no deletions or preallocation
> of space before adding elements. Code for measuring performance is included.
> See Class FastSetsComment.
>
> Comments welcome.
>
> I consider the project complete but am willing to make changes as required
> or give permissions for others to do so or to take over the project.
>
> My hope is that this code will be incorporated into Squeak someday.
> I have not signed any release forms to allow this but am willing to do
> so.
>
> The project runs in Squeak 3.10.2  but can be easily modified to work
> in previous
> versions of Squeak.
>
> Regards
>
> Ralph Boland
>
>



--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry




Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Faster Sets Project

Paolo Bonzini-3
In reply to this post by Ralph Boland
Ralph Boland wrote:
> I finally released my first project to the www.squeaksource.com repository.
> Its called FasterSets.  It makes sets faster by not doing compares during
> grow operations which makes adding to sets use about 14% fewer compares
> on average during an add: operation assuming no deletions or preallocation
> of space before adding elements. Code for measuring performance is included.
> See Class FastSetsComment.

I think this should be packaged as a changeset and filed into Mantis.

Paolo