mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
The instructions GetById and GetByIdWithThis now remember the last-seen Shape, and if we see the same object again, we reuse the property offset from last time without doing a new lookup. This allows us to use Object::get_direct(), bypassing the entire lookup machinery and saving lots of time. ~23% speed-up on Kraken/ai-astar.js :^)
135 KiB
135 KiB