Hello,
Could you implement a dedicated exceptaddr frame creation for raise statements? Because now if raise uses some ansistring constructor, it automatically creates exception frame for the whole procedure where raise was placed. But in most cases exception is not raised and exception frame becames a burden for the whole procedure, especially if ansistrings generally were not used.
Right now I have a "on-the-knee" solution - I'm just creating a local subprocedure called like "doraise" that just raises an exception. This way exception frame is not created in the main procedure, but is created "in time" when the exception raise is needed.
This is maybe not a "general case optimisation", but it is an obvious way to sped up things if exceptions were used.
Best regards,
Aleksey
