Speedup OrderedCollection

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

Speedup OrderedCollection

Gwenaël Casaccio
Hi,

here is a patch that boost a bit OrderedCollection,
I've added an array variable and change the code
in consequence. It's faster because it uses the special
bytecodes at: and at:put: that tries caches the primitive
calls

There is one regression with the simplex optimizer.

Cheers,
Gwen


_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

0001-Faster-orderedcollection.patch (35K) Download Attachment