ladybird/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator
Aliaksandr Kalenik bb53485dea LibJS+LibWeb: Add fast path for builtin iterators in iterator_step()
We already have fast path for built-in iterators that skips `next()`
lookup and iteration result object allocation applied for `for..of` and
`for..in` loops. This change extends it to `iterator_step()` to cover
`Array.from()`, `[...arr]` and many other cases.

Makes following function go 2.35x faster on my computer:
```js
(function f() {
  let arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
  for (let i = 0; i < 1000000; i++) {
    let [a, ...rest] = arr;
  }
})();
```
2025-05-13 15:14:25 +03:00
..
CMakeLists.txt BindingsGenerator: Write generated code to disk instead of stdout 2022-12-13 11:31:24 +01:00
IDLGenerators.cpp LibJS+LibWeb: Add fast path for builtin iterators in iterator_step() 2025-05-13 15:14:25 +03:00
IDLGenerators.h LibIDL+LibWeb: Begin support for async iterator in IDL 2025-04-14 17:43:11 -04:00
main.cpp LibIDL+LibWeb: Begin support for async iterator in IDL 2025-04-14 17:43:11 -04:00
Namespaces.h LibWeb: Add Streams to the list of IDL interface namespaces 2025-04-14 17:43:11 -04:00