15,347,117 members
Home / Discussions / Algorithms

Algorithms

 Re: Algorithm to find a given number is prime or not. PIEBALDconsult14-Nov-14 3:37 PIEBALDconsult 14-Nov-14 3:37
 How to describe method: SQL for frequent pattern discovery pseudogrammaton4-Sep-14 18:01 pseudogrammaton 4-Sep-14 18:01
 Re: How to describe method: SQL for frequent pattern discovery Bernhard Hiller4-Sep-14 20:52 Bernhard Hiller 4-Sep-14 20:52
 Re: How to describe method: SQL for frequent pattern discovery pseudogrammaton5-Sep-14 2:55 pseudogrammaton 5-Sep-14 2:55
 Boundless Binary Search Gregorius van den Hoven27-Aug-14 10:24 Gregorius van den Hoven 27-Aug-14 10:24
 Re: Boundless Binary Search harold aptroot4-Sep-14 21:28 harold aptroot 4-Sep-14 21:28
 Re: Boundless Binary Search Gregorius van den Hoven6-Sep-14 10:04 Gregorius van den Hoven 6-Sep-14 10:04
 Re: Boundless Binary Search harold aptroot6-Sep-14 11:10 harold aptroot 6-Sep-14 11:10
 Yes ok, I guess the cold got to me. I was thinking something weird based around the assumption that mid started in the middle, which it obviously doesn't. So it works, that's good. It seems closely related to the variant which keeps a "midpoint" and a "span" (here it's the next span (`mid`), and the midpoint plus that next span (`i`)). Same pros and cons too (needs fixup at the end, but inner loop is simple), the "midpoint/span" variant is usually seen (when seen at all) in its "more complicated math in the inner loop"-form which doesn't need fixup, but then what's the point.
 Re: Boundless Binary Search Gregorius van den Hoven6-Sep-14 12:32 Gregorius van den Hoven 6-Sep-14 12:32
 Re: Boundless Binary Search harold aptroot6-Sep-14 12:52 harold aptroot 6-Sep-14 12:52
 Re: Boundless Binary Search Gregorius van den Hoven6-Sep-14 15:07 Gregorius van den Hoven 6-Sep-14 15:07
 Re: Boundless Binary Search harold aptroot6-Sep-14 20:25 harold aptroot 6-Sep-14 20:25
 Re: Boundless Binary Search Alan Balkany5-Nov-15 0:21 Alan Balkany 5-Nov-15 0:21
 Surface calculation (sphere) - projection effect. [SOLVED ?] V.3-Aug-14 22:31 V. 3-Aug-14 22:31
 Re: Surface calculation (sphere) - projection effect. [SOLVED ?] Supreme Master27-Jul-15 9:24 Supreme Master 27-Jul-15 9:24
 Lock free algorithms Joe Woodbury1-Jul-14 8:15 Joe Woodbury 1-Jul-14 8:15
 Re: Lock free algorithms Michael Gazonda31-Jul-14 18:51 Michael Gazonda 31-Jul-14 18:51
 Re: Lock free algorithms Joe Woodbury31-Jul-14 19:21 Joe Woodbury 31-Jul-14 19:21
 Re: Lock free algorithms Michael Gazonda31-Jul-14 19:25 Michael Gazonda 31-Jul-14 19:25
 Re: Lock free algorithms SledgeHammer016-Sep-14 8:58 SledgeHammer01 6-Sep-14 8:58
 Re: Lock free algorithms Joe Woodbury6-Sep-14 9:50 Joe Woodbury 6-Sep-14 9:50
 Re: Lock free algorithms SledgeHammer016-Sep-14 11:35 SledgeHammer01 6-Sep-14 11:35
 Re: Lock free algorithms Joe Woodbury6-Sep-14 11:49 Joe Woodbury 6-Sep-14 11:49
 Re: Lock free algorithms SledgeHammer016-Sep-14 12:55 SledgeHammer01 6-Sep-14 12:55
 Re: Lock free algorithms Joe Woodbury6-Sep-14 13:11 Joe Woodbury 6-Sep-14 13:11
 Last Visit: 31-Dec-99 18:00     Last Update: 25-Jun-22 22:51 Refresh ᐊ Prev1...49505152535455565758 Next ᐅ