Commit adb0794
committed
idx2rwmap: do not sort by serving path
this is a revert of commit 4c40626
I’m not sure what was non-deterministic about the output back then,
but redirect.IndexFromProto() returns entries in the order in which they were
loaded from the index. Maybe non-determinism was addressed at a different stage
in the meantime.
An unintended side-effect of the sorting was a preference for uppercase paths,
as they come first in ASCII.
Removing the sorting removes a behavioral difference between serving the
redirect index via auxserver and using idx2rwmap.
related to #1611 parent c35ad7d commit adb0794
1 file changed
+0
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 73 | | |
89 | 74 | | |
90 | 75 | | |
| |||
95 | 80 | | |
96 | 81 | | |
97 | 82 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 83 | | |
102 | 84 | | |
103 | 85 | | |
| |||
0 commit comments