mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Allocate a single memory block for strings, rather than a separate string header and string characters block. In the past strings were split into 8 byte chunks, and large amount of legacy code is designed for that representation. However the current allocator allows block allocation so we don't need those complicated algorithms anymore. This patch is a cleanup rather than an optimization. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com