mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:17:44 +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:
parent
3322efd4cd
commit
02e7dceb96
4 changed files with 183 additions and 0 deletions
|
@ -157,6 +157,7 @@ set(SOURCES
|
|||
Runtime/TypedArray.cpp
|
||||
Runtime/TypedArrayConstructor.cpp
|
||||
Runtime/TypedArrayPrototype.cpp
|
||||
Runtime/Utf16String.cpp
|
||||
Runtime/Value.cpp
|
||||
Runtime/VM.cpp
|
||||
Runtime/WeakContainer.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue