[Mono-dev] List<T> Optimisations

Alan McGovern alan.mcgovern at gmail.com
Mon Mar 26 19:43:13 EDT 2007

I applied the optimisation from Michael, and the speed increase is quite
substantial. The original code running with a 9,000 element array took about
030 ms to process. The new code with a 900,000 element array takes 210ms.

Attached is a new patch containing those changes.

All comments welcome on the new implementation, or if anyone has some
equally good ideas on how to optimise the other methods further, that'd be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070327/09184e2c/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ListT.patch
Type: text/x-patch
Size: 4174 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070327/09184e2c/attachment.bin 

More information about the Mono-devel-list mailing list