Re: Application when using luabind takes loooooong time to link.
Bjorn Toft Madsen <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <FE474048365839429685518F5A5511171DBE33@DB3EX14MBXC309.europe.corp.microsoft.com> |
Other way around: The more you split your bindings up, the less you have to recompile/relink when one changes. Obviously you want LTCG on for your Release build, but for anything else I'd leave it off. Later, Bjorn From: CB_Ogre None [mailto:[email protected]] Sent: 04 December 2009 10:11 To: [email protected] Subject: Re: [luabind] Application when using luabind takes loooooong time to link. Yeah, switching off the /LTCG flag made the linker faster by about 40%. But it's still slower than normal. So I'm thinking of other ways of speeding it up. If all of the bindings are in a single CPP file does it help? (I think I read something like that somewhere, but I don't remember) Thanks. On Fri, Dec 4, 2009 at 2:36 PM, Bjorn Toft Madsen <[email protected]<mailto:[email protected]>> wrote: It shouldn't take a long time to link the luabind library itself (AFAIK), but if you're heavy on the binding, the compilation and linking times will definitely increase as LuaBind is so templated. I would imagine LuaBind and LTCG is a beast unleashed too ... you wouldn't have that switched on, would you? Bjorn From: CB_Ogre None [mailto:[email protected]<mailto:[email protected]>] Sent: 04 December 2009 08:48 To: [email protected]<mailto:[email protected]> Subject: [luabind] Application when using luabind takes loooooong time to link. Hi, Just started using luabind. I must say it's a wonderful tool. But I'm having one major glitch. I'm using MSVC 2008 SP1. I've built luabind (version 0.8.1) into a static library. And I'm using it in my application and linking to the static library. My only problem is that my application takes nearly 7 (painful) minutes to link (yes, just to link). Is there anyway I can work around this? Thanks ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ luabind-user mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/luabind-user ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user