You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,10 +98,12 @@ avl.erase(2); // erase key 2
98
98
99
99
### Fast mode
100
100
This class has two compile time selectable modes as template parameter `Fast` (default is `true`).
101
+
101
102
| Fast | Description |
102
103
|------|-------------|
103
104
| 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. |
104
105
| 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
+
105
107
Search (find) speed is not affected by `Fast` and is always O(log n) fast.
0 commit comments