Hi,
I didn't went into the sourcecode but I read (I didn't remember where) that CEGUI uses exceptions.
Are they all disabled in release and only used in debug mode ?
It's a performance question.
Thanks
[Solved] CEGUI Exception
Moderators: CEGUI MVP, CEGUI Team
Re: CEGUI Exception
We allow people to disable exceptions but we strongly discourage it. See the CEGUI_THROW macro. I think it was originally provided to rebuke people coming to the forum and claiming that exceptions are too slow.
Unless an exception is actually thrown the runtime performance impact is minimal. Please provide references and *REAL* data why this matters to you. Do you have a real high performance project where this really matters? By all means show us. But show us real data, not 3 sentences of rumours.
CEGUI does not use exceptions for control flow. We use them in *exceptional* cases - really important errors.
Unless an exception is actually thrown the runtime performance impact is minimal. Please provide references and *REAL* data why this matters to you. Do you have a real high performance project where this really matters? By all means show us. But show us real data, not 3 sentences of rumours.
CEGUI does not use exceptions for control flow. We use them in *exceptional* cases - really important errors.
Re: CEGUI Exception
We don't regularly throw CEGUI exceptions in the internal code. In fact we do not throw them at all, unless something exceptional happens. Pun intended.
Performance is not affected.
Performance is not affected.
CrazyEddie: "I don't like GUIs"
Re: CEGUI Exception
Thanks for informations
Who is online
Users browsing this forum: No registered users and 6 guests