[Mono-dev] Patch for some obscure cases in Dictionary

Andreas Nahr ClassDevelopment at A-SoftTech.com
Wed Jun 11 12:14:28 EDT 2008


While trying to optimize the k-nucleotide benchmark from Computer Language
Shootout (or whatever) I stumbled across a corner case in Dictionary.
Situation is: We are behaving different from MS.Net and current Mono
behavior is somewhat illogical. But the case itself is surely outside of the
spec ;)
We are changing the indexer itself in the indexer (base problem, concrete is
a bit more complex).

Anyways this could be patched (it's slightly faster, too).

Happy Hacking

P.S. Am attaching the benchmark application and the input for it (< at
console)

P.P.S. I AM aware that doing stuff this way is asking for trouble ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dictionary.patch
Type: application/octet-stream
Size: 1300 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080611/d5b4c386/attachment-0001.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: knucl.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080611/d5b4c386/attachment-0001.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: knucleotide-input.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080611/d5b4c386/attachment-0001.txt 


More information about the Mono-devel-list mailing list