[Mono-dev] [PATCH] Optimized Dictionary`2

Juraj Skripsky js at hotfeet.ch
Mon Apr 9 12:17:06 EDT 2007


Attached is a zip file containing an thoroughly optimized version of
Dictionary`2 along with a few performance tests. On my system, the time
spent in a single test shrinks by 25%-40% (depending on the test).

Extract the zip file, and run

- "mono DictBench.exe 10 old"  or
- "mono DictBench.exe 10 new"

This runs the performance test suite for about 10 seconds. The first one
uses the Dictionary`2 implementation from the class libs, the second
uses the new, optimized version.

Please review.

- Juraj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewDictionary.zip
Type: application/zip
Size: 20286 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070409/9382a117/attachment.zip 

More information about the Mono-devel-list mailing list