Ops.. there is other difference...

With the heap bit method (Marshal.AllocHGlobal (size)), we need to clean up
the memory prior to user their bits as flags. More cost... it's even slower
than the old method:

100,000 elements
old method:      00.0187920
heap bit method: 00.0570250

JCO
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to