1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:17:35 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/LibWeb
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
..
BindingsGenerator LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
CMakeLists.txt LibWeb: Generate PseudoClass metadata 2023-08-12 16:26:32 +02:00
GenerateAriaRoles.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSEasingFunctions.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSEnums.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSMathFunctions.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSMediaFeatureID.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSPropertyID.cpp LibWeb: Implement Flex and FlexStyleValue types 2023-09-28 20:33:20 +01:00
GenerateCSSPseudoClass.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSTransformFunctions.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSValueID.cpp LibWeb: Treat "revert" as a CSS-wide keyword 2023-09-25 00:46:21 +01:00
GenerateWindowOrWorkerInterfaces.cpp LibWeb: Insert WindowProperties object into Window's prototype chain 2023-09-22 19:55:59 -06:00
GeneratorUtil.h LibWeb: Make (snake/title/camel) casification functions infallible 2023-08-22 13:08:24 +02:00