efriedma-quic wrote:

> we don't do anything like that at compile time.

We probably should.  (LLVM gets fancy with switch lowering, but even a simple 
binary search would solve the quadratic growth.)

That said, this patch is probably fine as-is for now.

https://github.com/llvm/llvm-project/pull/201845
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to