▲ | MontagFTB 13 hours ago | |
I am familiar with an algorithm that stably brings a disjoint selection of items together around a specified point. Sounds similar to this case, where the disjoint selection are changes that happened to a given file. The name of the algorithm is “gather”, by Sean Parent and Marshall Clow. | ||
▲ | quuxplusone 10 hours ago | parent | next [-] | |
https://github.com/stlab/adobe_source_libraries/blob/7659244... https://listarchives.boost.org/Archives/boost/2013/01/200366... I gotta say, I don't see the greatness any more than most of the repliers in that Boost thread — it's just two stable_partitions in a row. "[...] Or is there some optimization that gather provides over (stable_)partition? —— Nope. [...]" | ||
▲ | JKCalhoun 13 hours ago | parent | prev [-] | |
"muster" comes to mind and is different than "gather". |