4 ms·
there are other "C++ programmer trying to write C" anti-patterns, such as typedefed structs and one "class" per file, leading to terrible performance without LT
by Hello71 6y ago
there are other "C++ programmer trying to write C" anti-patterns, such as typedefed structs and one "class" per file, leading to terrible performance without LTO. stuff like https://source.netsurf-browser.org/libdom.git/tree/src/core/cdatasection.c https://source.netsurf-browser.org/libdom.git/tree/src/core/... has more signs of excessive C++ love: "vtable", "protected", etc. I don't know that these things are inherently bad, but they certainly don't exist in C.
- userbinator 6y ago...and despite that, it still manages to feel faster than the mainstream browsers, which says just how much extra overhead those have, and that there is still "more room at the bottom" to trim this one down some more too.