[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: VS2005 Building Against Old Runtime
- From: "Jerome Vuarand" <jerome.vuarand@...>
- Date: Tue, 9 Sep 2008 23:49:00 +0200
2008/9/9 Ignacio Burgueño <ignaciob@inconcertcc.com>:
> Jerome Vuarand wrote:
>> IIRC someone mentionned on this list that msvcrt.dll is a poor
>> alternative for a newer MSVC runtime because it has a very slow malloc
>> implementation. Did you perform some Lua benchmark with this new build
>> method ?
>
> I think you're refering to this post:
> http://article.gmane.org/gmane.comp.lang.lua.general/47305/match=runtime+malloc
>
> It says it is the other way around. MSVCRT has some internal pool for small
> allocations whereas newer runtimes just call HeapAlloc blindly.
It looks like that's the one I remembered. Thanks for refreshing my
memory. Indeed it seems that using msvcrt.dll on windows Lua builds
(whatever the C compiler) is a good idea.