Commit e8ddabd
committed
Foundation Classes - Update and Optimize NCollection_Map #140
- Updated Map to store insert order to improve iteration procedure.
- Fixed linked list management in NCollection_Map.
- Fixed MapNode constructor parameter order and improved null checks.
- Ensured Next pointer is set to nullptr when no placement is provided in NCollection_Map.
- Simplified More() method in NCollection_Map to only check for nullptr.
- Optimized Exchange method in NCollection_Map to swap first and last pointers.
- Added resetSize method and enhanced Destroy method in NCollection_Map for better memory management.1 parent 3d6c211 commit e8ddabd
File tree
6 files changed
+223
-100
lines changed- src
- BOPAlgo
- BRepTest
- NCollection
6 files changed
+223
-100
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
74 | 109 | | |
75 | 110 | | |
76 | | - | |
| 111 | + | |
77 | 112 | | |
78 | 113 | | |
79 | | - | |
80 | | - | |
| 114 | + | |
81 | 115 | | |
82 | 116 | | |
83 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
203 | 209 | | |
204 | 210 | | |
205 | 211 | | |
| |||
243 | 249 | | |
244 | 250 | | |
245 | 251 | | |
| 252 | + | |
| 253 | + | |
246 | 254 | | |
247 | 255 | | |
248 | 256 | | |
| |||
0 commit comments