Re: Application when using luabind takes loooooong time to link.

CB_Ogre None <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
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]> 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]]
> *Sent:* 04 December 2009 08:48
> *To:* [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]
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.