[Mono-devel-list] The first (attempt to checkin) managed collation patch
Ben Maurer
bmaurer at ximian.com
Thu Jul 21 23:58:35 EDT 2005
On Fri, 2005-07-22 at 12:53 +0900, Atsushi Eno wrote:
> + class UnmanagedMemoryStream : Stream {
> unsafe byte *base_address;
> - int size;
> - int position;
> + long size;
> + long position;
It's a bit more efficient so store those as void*. It uses less memory
on x86 boxes. Also, the 32 bit opcodes are shorter (ie, in size += 1,
you can do that with a single inc rather than having to handle
overflow).
-- Ben
More information about the Mono-devel-list
mailing list