Commit e4174dd
committed
Remove the tracking of tree node depth in the sharing map
When the sharing map was a fixed-height tree, the type of a node was determined
by its depth in the tree. Therefore, the node depth was tracked when traversing
the tree. Now that the sharing map is a variable-height tree, the methods
is_internal() and is_container() are used to determine the type of a node.1 parent 86c5a3f commit e4174dd
1 file changed
+23
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
1000 | | - | |
| 1000 | + | |
1001 | 1001 | | |
1002 | | - | |
| 1002 | + | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | 1005 | | |
| |||
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | | - | |
1028 | 1027 | | |
1029 | 1028 | | |
1030 | | - | |
| 1029 | + | |
1031 | 1030 | | |
1032 | 1031 | | |
1033 | 1032 | | |
| |||
1058 | 1057 | | |
1059 | 1058 | | |
1060 | 1059 | | |
1061 | | - | |
| 1060 | + | |
1062 | 1061 | | |
1063 | 1062 | | |
1064 | 1063 | | |
| |||
1072 | 1071 | | |
1073 | 1072 | | |
1074 | 1073 | | |
1075 | | - | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
1076 | 1077 | | |
1077 | 1078 | | |
1078 | 1079 | | |
| |||
1180 | 1181 | | |
1181 | 1182 | | |
1182 | 1183 | | |
1183 | | - | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1184 | 1187 | | |
1185 | 1188 | | |
1186 | 1189 | | |
| |||
1203 | 1206 | | |
1204 | 1207 | | |
1205 | 1208 | | |
1206 | | - | |
| 1209 | + | |
1207 | 1210 | | |
1208 | | - | |
1209 | | - | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
1210 | 1215 | | |
1211 | | - | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1212 | 1223 | | |
1213 | 1224 | | |
1214 | 1225 | | |
| |||
1219 | 1230 | | |
1220 | 1231 | | |
1221 | 1232 | | |
| 1233 | + | |
1222 | 1234 | | |
1223 | | - | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
1230 | 1235 | | |
1231 | 1236 | | |
1232 | 1237 | | |
| |||
0 commit comments