mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-01-14 05:03:24 +01:00
[Research] Store strokes in efficient data structure rather than array #23
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dscyrescotti on GitHub (May 26, 2024).
Originally assigned to: @dscyrescotti on GitHub.
Description
So far, all strokes are stored in the array and it leads to inefficiency at searching or retrieving strokes for rendering. So, it is a call to replace the existing array with more efficient data structure.
Reference
@dscyrescotti commented on GitHub (May 26, 2024):
It turns out that the implementation of RTree data structure is way complex so GKRTree from GameplayKit is used as temporary. But it will require to build the custom RTree for the project.