ladybird/Libraries
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
..
LibCompress LibCompress: Refactor deflate de/compressor using zlib 2025-03-19 13:46:50 +01:00
LibCore AK+LibCore: Avoid double-negation of syscall error values 2025-05-10 21:19:46 -04:00
LibCrypto LibCrypto: Remove unused big numbers modular functions 2025-04-28 12:05:26 +02:00
LibDevTools LibDevTools+LibWebView+WebContent: Report exceptions to DevTools 2025-03-27 14:14:02 +00:00
LibDiff LibDiff: Remove a bunch of unused code 2025-05-13 12:46:34 +02:00
LibDNS
LibFileSystem AK+LibCore: Avoid double-negation of syscall error values 2025-05-10 21:19:46 -04:00
LibGC LibGC: Make destructors non-virtual where possible 2025-05-12 11:40:45 -06:00
LibGfx LibGfx: Properly skip IDAT chunks without fcTL in APNG files 2025-05-09 21:45:29 +02:00
LibHTTP LibURL: Rename 'cannot have a base URL' to 'has an opaque path' 2025-04-06 08:24:54 -04:00
LibIDL LibIDL+LibWeb: Begin support for async iterator in IDL 2025-04-14 17:43:11 -04:00
LibImageDecoderClient Everywhere: Make TransportSocket non-movable 2025-04-09 15:27:52 +02:00
LibIPC LibCore: Prefer Error::is_errno over Error::is_syscall 2025-05-10 21:19:46 -04:00
LibJS LibJS+LibWeb: Add fast path for builtin iterators in iterator_step() 2025-05-13 15:14:25 +03:00
LibLine
LibMain
LibMedia Everywhere: Remove unused private fields 2025-04-04 12:40:07 +02:00
LibRegex LibRegex: Annotate classes with export macro for hidden visibility 2025-05-12 03:22:23 -06:00
LibRequests LibRequests+RequestServer: Add an error code for bad content encoding 2025-04-20 16:50:37 +02:00
LibRIFF
LibSyntax
LibTest LibJS+LibWeb: Do not return error from VM::create 2025-04-25 14:07:51 +02:00
LibTextCodec AK+LibTextCodec: Stop using Utf16View endianness override 2025-04-16 10:04:50 +02:00
LibThreading Everywhere: Fix trivial -Wunnecessary-virtual-specifier instances 2025-05-12 11:40:45 -06:00
LibTLS LibTLS: Call close() when we receive SSL_ERROR_ZERO_RETURN 2025-04-14 21:07:42 +02:00
LibUnicode LibUnicode: Avoid rejecting end-of-text position as a valid boundary 2025-04-11 15:30:17 -04:00
LibURL LibURL: Remove URL's valid state 2025-04-19 07:18:43 -04:00
LibWasm LibWasm: Validate tables, memories, globals, elements and data correctly 2025-05-08 03:35:11 -06:00
LibWeb LibJS+LibWeb: Add fast path for builtin iterators in iterator_step() 2025-05-13 15:14:25 +03:00
LibWebSocket
LibWebView LibWebView: Disable autocomplete when search is disabled 2025-05-11 11:48:02 -04:00
LibXML