[Dune] [#1030] Bounds checking
Dune
flyspray at dune-project.org
Thu Feb 2 20:32:58 CET 2012
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#1030 - Bounds checking
User who did this - Andreas Lauser (andlaus)
----------
Hm, my suggestion is only partially good: the reason why the ISTL_WITH_CHECKING macro was introduced in the first place was to avoid the 'if' statement which is burried inside assert() even for debug builds. now, if this checking would be done in a method, we would get a unnecessary jump every time the checkIndex_() method is called for non-optimized builds. To avoid this, the checkIndex_() method would need to be marked with __attribute__((always_inline)), which of course needs a autoconf test and needs to be hidden between a DUNE_ALWAYS_INLINE macro.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1030#comment3154
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not
expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list