You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The std::sort function requires operands to be "pointer-like", this
requires that de-referencing a const pointer should be allowed.
This was not an issue in the past, but in LLVM17 this property is
required. The edge_sort_iterator did not follow this property.
Fixing this by naively allowing this property led to a 10% performance
degredation due to requiring pointers to be allocated and deallocated.
To fix this for now, made the sort use std::stable_sort instead. The
performance degredation is quite small and may be worth it.
0 commit comments