mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01:00
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. |
||
|---|---|---|
| .. | ||
| BlockAllocator.cpp | ||
| BlockAllocator.h | ||
| Cell.cpp | ||
| Cell.h | ||
| CellAllocator.cpp | ||
| CellAllocator.h | ||
| CMakeLists.txt | ||
| ConservativeVector.cpp | ||
| ConservativeVector.h | ||
| DeferGC.h | ||
| ForeignCell.cpp | ||
| ForeignCell.h | ||
| Forward.h | ||
| Function.h | ||
| Heap.cpp | ||
| Heap.h | ||
| Heap+Swift.swift | ||
| HeapBlock.cpp | ||
| HeapBlock.h | ||
| HeapRoot.h | ||
| Internals.h | ||
| MarkedVector.cpp | ||
| MarkedVector.h | ||
| NanBoxedValue.h | ||
| Ptr.h | ||
| Root.cpp | ||
| Root.h | ||
| WeakContainer.cpp | ||
| WeakContainer.h | ||