Robert Jordan wrote: > > Since your sample does nothing, MS.NET has probably optimized out > parts of the code. >
for clarity, this code is meant to illustrate the issue. i started with a full scanner/parser and trimmed down the guts to isolate the issue. when running with and without the "core" bits (which perform similarly under .NET and mono), the magnitude of the performance difference is similar. memory allocation is the bottleneck in this case. Robert Jordan wrote: > > If you're benching mono, do it under Linux and with real world code. > are you saying that the mono/linux is optimized so that memory allocations are faster than mono/windows? (this is helpful, if true.) -- View this message in context: http://www.nabble.com/string-buffer-allocation-speed-issue-tp21626581p22247873.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
