c2rust icon indicating copy to clipboard operation
c2rust copied to clipboard

`transpile`: Rewrite `fn compare_src_locs` implementation to have a total order

Open Kriskras99 opened this issue 5 months ago • 8 comments

This implementation is simplified compared to the previous one. It is also almost twice as slow in the exhaustive test (15 vs 25 seconds). However, in real sort usage the impact should be significantly less.

  • Fixes #1126

Kriskras99 avatar Sep 18 '24 13:09 Kriskras99