Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The MSVC linker has a feature where it will merge byte-for-byte identical functions. It's most noticeable for default constructors, you might get hundreds of functions which all boil down to "zero the first 32 bytes of this type".

A quick google suggests it's called "identical comdat folding" https://devblogs.microsoft.com/oldnewthing/20161024-00/?p=94...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: