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

Andreas Nahr ClassDevelopment at A-SoftTech.com
Thu Jun 12 03:50:21 EDT 2008


Re-sent without input file.
Please test the patch and tell me if it is ok to apply. Does not seem to
break anything for me, but did not test very extensively.
You can get the input file from
http://shootout.alioth.debian.org/download/knucleotide-input.txt

Andreas

> 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/20080612/e32806f8/attachment.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: knucl.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080612/e32806f8/attachment.pl 


More information about the Mono-devel-list mailing list