ladybird/Libraries/LibGC
Jonne Ransijn cfb00ba494 LibJS: Stop lazily coercing numeric PropertyKeys
Lazily coercing might have made sense in the past, but since hashing
and comparing requires the `PropertyKey` to be coerced, and since a
`PropertyKey` will be used to index into a hashmap 99% of the time,
which will hash the `PropertyKey` and use it in comparisons, the
extra complexity and branching produced by lazily coercing has
become more trouble than it is worth.

Remove the lazy coercions, which then also neatly allows us to
switch to a `Variant`-based implementation.
2024-12-01 10:42:49 +01:00
..
BlockAllocator.cpp
BlockAllocator.h
Cell.cpp
Cell.h
CellAllocator.cpp
CellAllocator.h
CMakeLists.txt LibGC: Add Swift bindings to the GC heap 2024-11-19 14:32:11 -07:00
ConservativeVector.cpp
ConservativeVector.h
DeferGC.h LibGC: Expose deferred state publicly, annotate DeferGC for Swift 2024-11-19 14:32:11 -07:00
ForeignCell.cpp LibGC: Add a ForeignCell class for ownership of non-C++ objects 2024-11-19 14:32:11 -07:00
ForeignCell.h LibGC: Add a ForeignCell class for ownership of non-C++ objects 2024-11-19 14:32:11 -07:00
Forward.h LibGC: Add a ForeignCell class for ownership of non-C++ objects 2024-11-19 14:32:11 -07:00
Function.h
Heap.cpp
Heap.h LibGC: Add Swift bindings to the GC heap 2024-11-19 14:32:11 -07:00
Heap+Swift.swift LibGC: Add Swift bindings to the GC heap 2024-11-19 14:32:11 -07:00
HeapBlock.cpp
HeapBlock.h
HeapRoot.h
Internals.h
MarkedVector.cpp
MarkedVector.h
NanBoxedValue.h
Ptr.h
Root.cpp
Root.h LibJS: Stop lazily coercing numeric PropertyKeys 2024-12-01 10:42:49 +01:00
WeakContainer.cpp
WeakContainer.h