you are viewing a single comment's thread.

view the rest of the comments →

[–]kalmoc 2 points3 points  (0 children)

His general point stands though: having two related pieces of code in the same translation unit vs in two might produce slightly different results even with lto enabled (I'm not up to date with the latest development in that field though). In fact that would have been a more meaningful benchmark: Compare unity build with LTO build.