Commit graph

5 commits

Author SHA1 Message Date
Folkert
b09c631895
cleanup 2022-10-05 23:59:29 +02:00
Folkert
67494e9df2
thread layout interner to repl_expect 2022-10-05 22:17:40 +02:00
Ayaz Hafiz
3b4b1838b8
Push layout interner further through Layout 2022-08-31 14:33:52 -05:00
Ayaz Hafiz
c5466810a4
Add LayoutInterner to LayoutCache
Adds a thread-local interner of layouts to LayoutCache, and updates all
references appropriately.

This is a bit suboptimal for single-threaded workloads that will look at
creating layout caches again, like the REPL, but I think that's okay for
now - since the global interner will be uncontested for those workloads, it
should still be plenty fast to access the interner, even behind a lock.
2022-08-31 14:33:51 -05:00
Ayaz Hafiz
14291c4ebc
Add an interner crate 2022-08-31 14:33:51 -05:00