Skip to content

Commit 71f59a6

Browse files
committed
chore(readme): fix fast mode table
1 parent cac0568 commit 71f59a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,12 @@ avl.erase(2); // erase key 2
9898

9999
### Fast mode
100100
This class has two compile time selectable modes as template parameter `Fast` (default is `true`).
101+
101102
| Fast | Description |
102103
|------|-------------|
103104
| true | Usage of an addional parent index. This consumes Size * sizeof(size_type) bytes of additional memory but increases the speed of insert and delete operations by factor 10. |
104105
| false | A parent node search algorithm is used. This is slower for insert and delete operations, but the internal parent index is omitted. Use this mode if memory is critical and insert/delete performance is not a big issue. |
106+
105107
Search (find) speed is not affected by `Fast` and is always O(log n) fast.
106108

107109

0 commit comments

Comments
 (0)