serenity/Userland
Aliaksandr Kalenik 3661d674ae LibJS: Add optimized GetGlobal instruction to access global variables
Using a special instruction to access global variables allows skipping
the environment chain traversal for them and going directly to the
module/global environment. Currently, this instruction only caches the
offset for bindings that belong to the global object environment.
However, there is also an opportunity to cache the offset in the global
declarative record.

This change results in a 57% increase in speed for
imaging-gaussian-blur.js in Kraken.
2023-07-12 16:03:16 +02:00
..
Applets Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Applications LibJS: Make Object::internal_get() reveal the used property offset 2023-07-09 12:54:06 +02:00
BuggieBox Userland: Teach the file utility about zip files 2023-07-11 17:48:57 +01:00
Demos LibGUI+Userland: Port StatusBar::text() and set_text functions to String 2023-06-15 13:53:22 +01:00
DevTools Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
DynamicLoader Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
Games Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Libraries LibJS: Add optimized GetGlobal instruction to access global variables 2023-07-12 16:03:16 +02:00
Services LibCore: Slightly rework the Core::Promise API 2023-07-08 23:13:00 +01:00
Shell Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Utilities pdf: Add function to render a page of a PDF to a bitmap 2023-07-12 07:54:28 +01:00
CMakeLists.txt