Test speed of exceptions

Bug #600689 reported by Eike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freeode
New
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

Tags: interpreter
Eike (eike-welk)
Changed in freeode:
importance: Undecided → Wishlist
Eike (eike-welk)
tags: added: interpreter
Eike (eike-welk)
description: updated
Eike (eike-welk)
Changed in freeode:
milestone: none → 0.4.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.