1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 01:45:07 +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 AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
EventNames.h AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
Types.h
Types.idl LibWeb: Use "unrestricted float/double" where we should in IDL 2022-08-14 11:30:40 +02:00
WebGLContextAttributes.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
WebGLContextAttributes.h LibWeb: Replace GlobalObject with VM in remaining AOs [Part 4/4] 2022-08-23 13:58:30 +01:00
WebGLContextEvent.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebGLContextEvent.h LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebGLContextEvent.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
WebGLRenderingContext.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebGLRenderingContext.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
WebGLRenderingContext.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
WebGLRenderingContextBase.cpp LibWeb: Port WebGLRenderingContext IDL from DeprecatedString to String 2023-08-29 10:05:02 +02:00
WebGLRenderingContextBase.h LibWeb: Port WebGLRenderingContext IDL from DeprecatedString to String 2023-08-29 10:05:02 +02:00
WebGLRenderingContextBase.idl LibWeb/WebGL: Add WebGLRenderingContextBase.canvas 2022-06-27 22:54:41 +01:00