[Mono-dev] Optimized Dictionary`2
Lionel Cuir
lionel_email at aulofee.com
Wed May 30 11:33:27 EDT 2007
Juraj,
Do you think you could try to update your dictionary implementation so
that its binary serialization would be compatible with .NET's one?
Actually, it is not - and so I cannot do remoting or simply file
exchange with binary-serialized dictionary between a Mono-machine and a
.NET machine (I would have to use XML/Soap, which is far less
efficient). To do so, I think there are changes to bring to
ISerializable only (serialization constructor and GetData method).
Best regards
Lionel
Juraj Skripsky a écrit :
> Hello,
>
> I've already sent this mail to the list about a month ago and got no
> response whatsoever...
>
> To get some attention: The attached optimized Dictionary is in some
> cases almost _twice as fast_ compared to the current implementation!
>
> ---
>
> 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.
>
> May I commit?
>
> - Juraj
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list