tcsullivan / consteval-huffman

Compile-time Huffman coding compression using C++20
The Unlicense
165 stars 10 forks source link

Examples don't work with MSVC #6

Open Caball009 opened 1 year ago

Caball009 commented 1 year ago

It's been a while since the last commit, but it'd be nice if the code can be updated to work with MSVC. This compiler is not constant evaluating something that GCC is.

As a side note, the compilation times are pretty poor. Is doing the extra work, or using the entire string as template parameter causing this? Compilation times don't need to noticeably increase for longer strings, but this may require a different approach than the one currently used.