Hacker News new | ask | show | jobs
by tester756 34 days ago
I'd bet because that's probably no better, that's it.

>The LLVM patch was rejected a decade ago

And what was the reasoning?

1 comments

Also you could try again, many things may have changed since then including who maintains the code.
It seems like someone did: https://github.com/llvm/llvm-project/issues/96971. However the performance implications of this was not well explored there
If the problem with the previous attempt was the same as with the more recent one, well duh. Just because this approach is new and clever doesn't mean it should always be used. It should be a last resort if cost estimates for other approaches are higher than some threshold where perfect hashing is likely to be cheaper.