================

----------------
Michael137 wrote:

It's a bit unfortunate we have to reconstruct this `StringMap` every time. Do 
you have an intuition for how expensive that is?

Why can't we construct the map statically? The `LangOptions` never change 
right? So you could just wrap all of this new logic in an 
immediately-invoked-lambda and still make the `g_map` static. Wdyt?

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

Reply via email to