News for hackers. Stuff that matters.
Re:Cttrie – Compile-time trie-based string matching for C++ by ape4 on Friday September 14, 2018 @10:50AM (#17987564)
This only an issue if you want to have many hardcoded strings in a switch. If you want that, there is a probably a better way to organize the code.
Re:Cttrie – Compile-time trie-based string matching for C++ by detaro on Friday September 14, 2018 @12:36PM (#17988662)
I'd assume that in most cases where this comes up, you're not exactly in a position to not use those strings, e.g. because they're defined in an input format you're processing.