mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
* Compress CompressibleStrings on GC reclaim end event
- if there is reference about data of CompressibleString on stack, we should give up compressing.
we don't need to search heap space because I redesigned StringView
(we should not store string buffer data on heap without owner)
* Redesign StringView
- Don't save string buffer address as its member. because buffer of CompressibleString can be deleted
- If we don't save string buffer address on StringView, parser performance may dropped.
becuase parser access string data a lot.
so I introduce ParserStringView. it saves buffer address. we should ParserStringView on parser only.
we can save string buffer address while parsing. because GC is disabled while parsing.
* Enable CompressibleString always
* Implement cache of RegExpOptionStrings
* Implement finding system locale function on RuntimeICUBinder avoiding call uloc_getDefault.
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
|
||
|---|---|---|
| .. | ||
| ast | ||
| esprima_cpp | ||
| ASTAllocator.cpp | ||
| ASTAllocator.h | ||
| ASTBuilder.h | ||
| CodeBlock.cpp | ||
| CodeBlock.h | ||
| Lexer.cpp | ||
| Lexer.h | ||
| ParserStringView.h | ||
| Script.cpp | ||
| Script.h | ||
| ScriptParser.cpp | ||
| ScriptParser.h | ||