News for hackers. Stuff that matters.
Re:Bounded Integer: Header-only C++ library replaces integer... by flatline on Sunday September 29, 2019 @01:30PM (#21108338)
Right - boost::units is supposed to be a zero-overhead abstraction buy there are still edge cases where the compiler can’t optimize away all the template wrappings. Generally still worth it, if you find a performance bottleneck you can move back to doubles and conventions to keep the units straight. This sounds like it may not be so easy to selectively opt out of.

There are no comments on this comment yet.