ladybird/Libraries/LibJS/Tests/builtins/Object
Aliaksandr Kalenik e81833423b LibJS: Add PutByNumericId and change PutById to be string key only
Previously, PutById constructed a PropertyKey from the identifier,
which coerced numeric-like strings to numbers. This moves that decision
to bytecode generation: the bytecode generator now emits PutByNumericId
for numeric keys and PutById for string keys. This removes per-execution
parsing from the interpreter.

1.4x speedup on the following microbenchmark:
```js
const o = {};
for (let i = 0; i < 10_000_000; i++) {
    o.a = 1;
    o.b = 2;
    o.c = 3;
}
```
2025-09-13 20:02:28 +02:00
..
Object.assign.js
Object.create.js
Object.defineProperties.js LibJS: Add PutByNumericId and change PutById to be string key only 2025-09-13 20:02:28 +02:00
Object.defineProperty.js
Object.entries.js
Object.freeze.js
Object.getOwnPropertyDescriptor.js
Object.getOwnPropertyNames.js
Object.getOwnPropertySymbols.js
Object.getPrototypeOf.js
Object.groupBy.js
Object.hasOwn.js
Object.is.js
Object.isExtensible.js
Object.isFrozen.js
Object.isSealed.js
Object.js
Object.keys.js
Object.preventExtensions.js
Object.prototype.constructor.js
Object.prototype.hasOwnProperty.js
Object.prototype.isPrototypeOf.js
Object.prototype.js
Object.prototype.propertyIsEnumerable.js
Object.prototype.toLocaleString.js
Object.prototype.toString.js
Object.prototype.valueOf.js
Object.seal.js
Object.setPrototypeOf.js
Object.values.js