[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua slowdown in debugbuild with microsoft compiler
- From: Stefan Sandberg <keffo.sandberg@...>
- Date: Sat, 16 Jun 2007 04:22:02 +0200
I suggest putting stuff like this on the wiki!
David Burgess wrote:
1) do not use /Zi or /ZI use /Z7. The debug edit and continue option is
2) For debug mode change the lua_newstate() to use HeapAlloc(). You
can do this with a macro. The downside of this is that the GC is not
memory checked by the debug runtime.
On 6/16/07, Eike Decker <email@example.com> wrote:
During last month, I integrated lua much more tightly into our engine
luxinia.de) and lua is now used much more intensivly than before (adding
certain new features, but also allowing a more direct binding, which
that it would speed up everything a bit, but to my disapointment, the
has become a bit slower (not very much, but maybe 10%) but this is
I am using gcc for compiling while my workmate is using a Microsoft
(msvc 7.1 / visual c 2003.
While the release build of MS is quite a bit faster than the release
the GCC compiler, the debug build of the MS compiler suffers a lot
of the speed when debug exe is executed and horrible long wait
periods when the
Lua GC runs) and my partner is complaining about this effect, since
worse, the more lua was integrated. Especially the waiting periods
debuging where everything freezes are quite horrible.
I have no experience with the MS compiler here, but I am responsible
luabinding, so I would like to know if someone here has the same
combination with the microsoft compiler and if there is a workaround
Thanks in advance!