I was reading a blog post here: http://3d.benjamin-thaut.de/?p=20
which mentions:
"Calls to the druntime invariant handler are emitted in release
build also and there is no way to turn them off. Even if the
class does not have any invariants the invariant handler will
always be called, walk the class hirarchy and generate multiple
cache misses without actually doing anything."
I was curious if this was still true today (the post was written
3 years ago in Sept 2012).
Thanks!
- Do a class invariants affect ... Andrew LaChance via Digitalmars-d-learn
-