Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow URLs to be used as the keys of a TreeMap. #29
Conversation
|
I don’t think |
|
Why wouldn't Ord make sense? And I can use |
|
How should you decide if an URL is "greater" or "lesser" than another? The implementation given by |
|
Oh. I thought it'd be lexicographic. |
|
It probably is lexicographic, but based on an internal representation that might change and does not say anything meaningful about the URLs. |
|
Ok. Makes sense to me. Take another look? |
|
Although marginally better, I’d still rather not have But more importantly, using |
|
Ah. That's a great idea! I'll close this. |
cgaebel commentedSep 16, 2014
This is needed to get bucketed profiling working in servo.