Interesting. I was doing something very similar to this for delegates that would call a C++ member function in the early 2000shttps://twitter.com/korkyplunger/status/820691297556189186 …
Though this solution (in his example) is constantly recalculating distance for the same point. Why not precalc and then normal qsort?
-
-
I can understand that sorting an extra array is a pain, but certainly for the bsearch precalculating would pay off.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.