ladybird/Libraries/LibJS/Rust
Andreas Kling a646f9d0bf LibJS: Borrow mapped bytecode cache executable bytes
Keep executable bytecode payloads decoded from owner-backed bytecode
cache blobs as ranges into the original blob instead of copying them
into Rust Vec allocations. The mapped blob owner is held by decoded
executable records, including lazy nested function executables, so the
borrowed bytecode remains alive until materialization copies it into the
final C++ Executable.

Use the owner-backed decoder for HTTP bytecode cache hits and keep the
plain byte decoder for tests and in-memory callers. Add coverage for
materializing bytecode cache data from an ImmutableBytes mapped file.
2026-05-16 08:13:35 +02:00
..
src LibJS: Borrow mapped bytecode cache executable bytes 2026-05-16 08:13:35 +02:00
build.rs LibJS: Range-check enum-typed bytecode fields in the validator 2026-05-03 08:43:19 +02:00
Cargo.toml LibJS: Use foldhash in parser and scope-collector hash maps 2026-05-05 13:53:51 +02:00
cbindgen.toml LibJS: Add bytecode validator scaffolding driven from Bytecode.def 2026-05-03 08:43:19 +02:00