[Feature] primitive collection adaptation
Open
feature
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 636
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 14
Description
### Feature Description (功能描述)
TODO:
1. primitive集合的多线程加速。目前是使用synchronized的方式加锁粒度比较粗导致性能下降,后续可以采用分段加锁等方式加速
- ConcurrentObjectIntMapping
- Record
- SingleWayMultiPathsRecords.accessedVertices
2. 改造算法使用primitive的records。目前只有shortestpath、kout、kneighbor和paths改造完成。其他算法仍需要改造。
https://github.com/hugegraph/hugegraph/pull/1409#issuecomment-844828008
Contributor guide
Assessment
This issue has not been assessed yet.