desc: add TreeString and LineString
solu:
1. add TreeString and LineString
2. all string fucntions fit new construction
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5X82Y
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I6c6ded38ee67741b5c0f17f19b72e68a4375b303
--------------------------------------------------------------------------------------
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5XG8X?from=project-issue
1.For List,linkedlist: increase getNodeByDataIndex interface, don't have to traveres the list to get dataIndex.
2.For LinkedList::RemoveByIndex: use the bidirectional lookup feature of linkedList.
--------------------------------------------------------------------------------------
Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Icfa11be6e3668e2f76ccbf24b5f57edc534f3754
Description
1.To ensure the high performance of container classes, HashMap and HashSet is provided in ark.
2.Add test cases for HashMap and HashSet.
Related issue
#I5D0WV:Add Containers HashMap and HashSet
Signed-off-by: liuganlin <liuganlin@huawei.com>
Description
To ensure the high performance of container classes, lightweight map
and lightweightset are provided in ark.
Related issues
#I566FV:Add Container LightWeightMap And LightWeightSet
Signed-off-by: shisan_forwork <chengjunxiong@huawei.com>
Description
1.To ensure the high performance of container classes, List and LinkedList is provided in ark.
2.modify Copyright 2021->2022.
3.fix containers.
Related issue
#I58XA9:Add Containers List And LinkedList.
Signed-off-by: chenqi <chenqi151@huawei.com>
Description
To ensure the high performance of container classes, vector is
provided in ark.
Related issue
#I4XCD9:add container vector
Signed-off-by: shisan_forwork <chengjunxiong@huawei.com>
Description
Cut out most of the initialization logic in Runtime::Create and disconnect the
inheritance relationship of most classes such as JSThread.
Issue:
#I53418: Runtime architecture adjustment
Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: Ib9c1a40354f77d32e515e23334e7f4b4a4fa3259
Description
To ensure the high performance of container classes, Plainarray is
provided in ark.
Related issue
#I4XXYA:Add Container Plainarray
Signed-off-by: zhangjixing <zhangjixing4@huawei.com>
Add handle scope to avoid the large number of root nodes.
Remove unnecessary handles in the critical path.
Adjust the parameters in gc to avoid multiple consecutive Old GCs.
Signed-off-by: xiongluo <xiongluo@huawei.com>
Description
1. There are many kinds of interfaces to construct ecmastring from objectfactory
in the virtual machine, and the name is not clear, so it is complex to use;
2. Some of the unchecked interfaces are prone to errors during use. If there is
no compression where compression is required, unpredictable errors will occur.
Issue:
#I4ZL7X: ObjectFactory New Ecmastring Rectification
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I856f4e2e1df62823d928d738fa35affa97dbd3ed
Description
To ensure the high performance of container classes, Deque and Stack
is provided in ark.
Related issue
#I4X8GV:Add Container Deque And Stack
Signed-off-by: zhangjixing <zhangjixing4@huawei.com>
Description
To ensure the high performance of container classes, TreeMap and TreeSet is provided in ark.
1. Add test cases for ContainerTreeMap.
2. Add test cases for ContainerTreeSet.
3. Add test cases for JSAPITreeMap.
4. Add test cases for JSAPITreeSet.
Related issue
#I4T5I6:add test cases for TreeMap and TreeSet
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ib01adfd9038498a88785bdd878e524e02ab38dc8