mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00
![]() ...when Array.prototype and Object.prototype are intact. If `internal_set()` is called on an array exotic object with a numeric PropertyKey, and: - the prototype chain has not been modified (i.e., there are no getters or setters for indexed properties), and - the array is not the target of a Proxy object, then we can directly store the value in the receiver's indexed properties, without checking whether it already exists somewhere in the prototype chain. 1.7x improvement on the following program: ```js function f() { let a = []; let i = 0; while (i < 10_000_000) { a.push(i); i++; } } f(); ``` |
||
---|---|---|
.. | ||
AbstractOperations.cpp | ||
AbstractOperations.h | ||
AsyncIterator.cpp | ||
AsyncIterator.h | ||
Buffers.cpp | ||
Buffers.h | ||
CallbackType.cpp | ||
CallbackType.h | ||
DOMException.cpp | ||
DOMException.h | ||
DOMException.idl | ||
ExceptionOr.h | ||
Function.idl | ||
ObservableArray.cpp | ||
ObservableArray.h | ||
OverloadResolution.cpp | ||
OverloadResolution.h | ||
Promise.cpp | ||
Promise.h | ||
Tracing.cpp | ||
Tracing.h | ||
Types.h |