dynamobi/dynamobi — Issue #465: [FNL-43] Fennel Calculator could be made faster in some cases by removing more throw/catch exceptions in the C++ code
Author: dynamobi-build
Created: 2011-12-30 03:28:14+00:00
State: open
Labels: Calc, FNL

[reporter="johnk", created="Fri, 21 Jul 2006 09:52:51 -0500 (GMT-05:00)"]
From dtbug 233

Opened: 2004-08-09 11:45

I changed ReturnInstruction to not use throw as a test.

This sped up a simple 2 line program (MOVE;RETURN) by a factor of 281: From

45,454/s to 12,795,905/s.

This is with the "optimized" build.

I'm concerned that a stream that has a lot of data exceptions is going to

perform far too slowly if this is how miserable g++ is with handling throw/catch.

Throw will still be OK for logic errors, and other irregularities.