Test speed of exceptions

Bug #600689 reported by Eike on 2010-07-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freeode
Wishlist
Unassigned

Bug Description

The compiler currently uses exceptions extensively as a mechanism for information transport. In fact an exception is raised for each function call that goes to the code generator. So raising exceptions is not an exception but the norm.

Therefore test the speed of raising and catching exceptions in comparison to "if" statements. If exceptions are much slower than "if" statements, then the code should be restructured.

https://sourceforge.net/apps/trac/freeode/ticket/26

Eike (eike-welk) on 2010-07-01
Changed in freeode:
importance: Undecided → Wishlist
Eike (eike-welk) on 2010-07-10
tags: added: interpreter
Eike (eike-welk) on 2011-06-10
description: updated
Eike (eike-welk) on 2012-02-29
Changed in freeode:
milestone: none → 0.4.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers