[Mono-devel-list] The first (attempt to checkin) managed collation patch
Miguel de Icaza
miguel at ximian.com
Sun Jul 24 12:39:22 EDT 2005
Hello,
> I measured the performance for mcs.exe build and put the results
> here:
> http://monkey.workarea.jp/tmp/20050720/prof-no-collation.txt
> http://monkey.workarea.jp/tmp/20050720/prof-managed-collation.txt
Thanks for posting these profiles, this is done with
USE_MANAGED_RESOURCE?
Also, I noticed that you have code like this:
#if !MANAGED_USE_RESOURCE
not_managed_use_resource
#else
managed_use_resource
#endif
I would prefer if you swapped the code, so it reads:
#if MANAGED_USE_RESOURCE
managed_use_resource
#else
unmanaged_use_resource
#endif
> So it was not that big, _only_ 200KB, while I thought it was bigger.
> It also tells that the performance is so bad (well, it is not fair
> comparison since no collation comparison is much faster).
That memory consumption apparently comes from:
116 KB Mono.Globalization.Unicode.MSCompatUnicodeTable::FillTable(BinaryReader,byte[]&)
116 KB 5 System.Byte[]
Which am confused, I cant find that signature, I find:
static void FillTable (PtrStream s, ref byte* bytes)
And thanks for catching the new UnmanagedMemoryStream class ;-)
More information about the Mono-devel-list
mailing list