This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit e6cf6a7
committed
Take a single root node in range_search
The unsafe code can be justified within range_search, as it makes sure to not
overlap the returned references, but from the callers perspective it's an
entirely safe algorithm and there's no need for the caller to know about the
duplication.1 parent 0b95879 commit e6cf6a7
1 file changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1034 | 1034 | | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
| 1037 | + | |
1040 | 1038 | | |
1041 | 1039 | | |
1042 | 1040 | | |
| |||
1082 | 1080 | | |
1083 | 1081 | | |
1084 | 1082 | | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
| 1083 | + | |
1088 | 1084 | | |
1089 | 1085 | | |
1090 | 1086 | | |
| |||
2043 | 2039 | | |
2044 | 2040 | | |
2045 | 2041 | | |
2046 | | - | |
2047 | | - | |
| 2042 | + | |
2048 | 2043 | | |
2049 | 2044 | | |
2050 | 2045 | | |
| |||
2064 | 2059 | | |
2065 | 2060 | | |
2066 | 2061 | | |
2067 | | - | |
2068 | | - | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
2069 | 2066 | | |
2070 | 2067 | | |
2071 | 2068 | | |
| |||
0 commit comments