Implement lazy Node4 creation on the ART #4
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AndreFerreira5/googol#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Whenever creating a new node, don't initialize it's children to Node4 immediately. Instead, only initialize it when needed.
This way, the ART becomes more memory-efficient, either by only creating the nodes later, and saving the memory before, or by never creating the node because it won't be used.