1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-15 18:52:24 +00:00
serenity/Userland/Libraries/LibWeb/WebGL
Andreas Kling 65717e3b75 LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive}
These functions all have a very common case that can be dealt with a
very simple inline check, often avoiding the need to call an out-of-line
function. This patch moves the common case to inline functions in a new
ValueInlines.h header (necessary due to header dependency issues..)

8% speed-up on the entire Kraken benchmark :^)
2023-10-07 07:13:52 +02:00
..
EventNames.cpp
EventNames.h
Types.h
Types.idl
WebGLContextAttributes.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
WebGLContextAttributes.h
WebGLContextEvent.cpp
WebGLContextEvent.h
WebGLContextEvent.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
WebGLRenderingContext.cpp
WebGLRenderingContext.h
WebGLRenderingContext.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
WebGLRenderingContextBase.cpp
WebGLRenderingContextBase.h
WebGLRenderingContextBase.idl