At least they give 100% correct results.Testing furthest for 100 tests on a list of 50 length.
Function Best% Worst% Failed
-------------------------------------------------------------------------------------
FAST-FARTHEST-PTS 0% 4.418% 33
FURTHEST-POINTS-QUICK 0% 4.418% 33
LM:GETFURTHESTAPART 0% 0% 0
FARFROMPOINTS 0% 0% 0
FURTHEST-POINTS-BRUTE-FORCE 0% 0% 0
As for speed, they're the fastest brute force methods yet:Benchmarking ..............Elapsed milliseconds / relative speed for 2048 iteration(s):
(LM:GETFURTHESTAPART PTLST).............3978 / 1.67 <fastest>
(FARFROMPOINTS PTLST)...................5663 / 1.18
(FURTHEST-POINTS-BRUTE-FORCE PTLST).....6662 / 1 <slowest>
Though still a way off the quick estimate method (if you don't mind a possible 10% error):Benchmarking ................Elapsed milliseconds / relative speed for 8192 iteration(s):
(FURTHEST-POINTS-QUICK PTLST)......1264 / 18.67 <fastest>
(LM:GETFURTHESTAPART PTLST).......11014 / 2.14
(FARFROMPOINTS PTLST).............23603 / 1 <slowest>