diff options
author | davidot <davidot@serenityos.org> | 2022-02-28 21:33:45 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-15 17:11:25 +0200 |
commit | 8381e7f1e665d30a0cc770492c67d8cfd5ea0bc8 (patch) | |
tree | ddc5551411536e441e8376fad373c565bbff87c7 /Ports/SDL2_net | |
parent | 8be96cd7ff505257206f88736cb0ed45ac0a0f15 (diff) | |
download | serenity-8381e7f1e665d30a0cc770492c67d8cfd5ea0bc8.zip |
LibJS: Specialize Optional<Value>
Values can be "empty" which only has a valid meaning for array holes.
We can however use this state the represent the empty state of an
Optional<Value> which is used in a lot of placed, because of Completion
having one.
This saves 8 bytes for every Optional<Value>.
Diffstat (limited to 'Ports/SDL2_net')
0 files changed, 0 insertions, 0 deletions