Live data from Hacker News

The Performance Impact of C++'s `final` Keyword

16bpp.net

161–170 of 385 posts

Re: The Performance Impact of C++'s `final` Keyword

#165
Changes in the layout of the binary can have large impacts on the program performance [0] so it's possible that the unexpected performance decrease is caused by unpredictable changes in the layout of the binary between compilations. I think there is some tool which helps ensure layout is consistent for benchmarking, but I can't remember what it's called.

[0]: https://research.facebook.com/publications/bolt-a-practical-...

Post reply on HN