1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

LibJS: Add a simple reference-counted UTF-16 string

To help alleviate memory usage when creating and copying large strings,
create a simple wrapper around a Vector<u16> to reference count UTF-16
strings.
This commit is contained in:
Timothy Flynn 2021-08-09 08:58:31 -04:00 committed by Andreas Kling
parent 3322efd4cd
commit 02e7dceb96
4 changed files with 183 additions and 0 deletions

View file

@ -169,6 +169,7 @@ class Statement;
class StringOrSymbol;
class Symbol;
class Token;
class Utf16String;
class VM;
class Value;
class WeakContainer;