Closed
Bug 1416876
Opened 8 years ago
Closed 8 years ago
crossref.rs output is not stable
Categories
(Webtools :: Searchfox, defect)
Webtools
Searchfox
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
I'd like to add some tests for crossref.rs, but the output (at least the file crossref) doesn't seem to have a stable order.
| Assignee | ||
Comment 1•8 years ago
|
||
The cause of this is |table| being a HashMap, not a BTreeMap. Funnily enough, |id_table| is also a HashMap but doesn't have this issue in practice, because its keys are strings (instead of heap allocated data structures). I don't know how much we want to rely on this...
| Assignee | ||
Comment 2•8 years ago
|
||
The third output of crossref.rs comes from iterating over a vector, and looks like it should be as stable as the input.
| Assignee | ||
Comment 3•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•