[libcxx-commits] [libcxx] [libc++] Instantiate hash function externally (PR #127040)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 26 08:09:57 PDT 2025
================
@@ -12,6 +12,21 @@ To generate a summary, re-generate the new ABI list using the
New entries should be added directly below the "Version" header.
+------------
+Version 21.0
+------------
+
+* [libc++] Instantiate hash function externally
+
+ This has multiple benefits:
+ - There is a single instance of our hash function, reducing object file size
+ - The hash implementation isn't instantiated in every TU anymore, reducing compile times
+ - Behind an ABI tag it would be possible to salt the hash
----------------
ldionne wrote:
```suggestion
- Behind an ABI configuration macro, it would be possible to salt the hash
```
https://github.com/llvm/llvm-project/pull/127040
More information about the libcxx-commits
mailing list