ArrayBsearch Bug/deadlock with Terminal not responding - page 2 12 New comment Anthony Garot 2017.11.19 19:08 #11 nicholishen: Or if you're looking for a simple function replacement...I ran some edge cases on TimeQuickSearch(). Seems solid. Nice job. JHawk 2017.11.19 23:26 #12 nicholishen: Or if you're looking for a simple function replacement...Hello nicholishen,thank you very much for your answers and solutions!I take the second one I think :-)Always if there are built in functions I dont think of making it myself on the first hand. Feels like reinventing the wheel a bit.But you are right. The quicksearch code is there in CArray so why not just use it directly.The TimeQuickSearch is the better way, because OnCalculate-time[] is already sorted. Great work man!I am very thankful for this!JHawk MT5 Tester with fixed Discussing the article: "Developing Looking for info on nicholish en 2017.11.19 23:27 #13 Anthony Garot: I ran some edge cases on TimeQuickSearch(). Seems solid. Nice job.Right on... I can't take credit for the QuickSearch algo though... :) JHawk 2017.11.19 23:29 #14 nicholishen: Right on... I can't take credit for the QuickSearch algo though... :)Yeah,but thats not the point. You helped me find my way. The quicksearch code and algo is nearly a copy an paste from CArray, I know.:-) 12 New comment
Or if you're looking for a simple function replacement...
I ran some edge cases on TimeQuickSearch(). Seems solid. Nice job.
Or if you're looking for a simple function replacement...
Hello nicholishen,
thank you very much for your answers and solutions!
I take the second one I think :-)
Always if there are built in functions I dont think of making it myself on the first hand. Feels like reinventing the wheel a bit.
But you are right. The quicksearch code is there in CArray so why not just use it directly.
The TimeQuickSearch is the better way, because OnCalculate-time[] is already sorted.
Great work man!
I am very thankful for this!
JHawk
I ran some edge cases on TimeQuickSearch(). Seems solid. Nice job.
Right on... I can't take credit for the QuickSearch algo though... :)
Right on... I can't take credit for the QuickSearch algo though... :)
Yeah,
but thats not the point. You helped me find my way. The quicksearch code and algo is nearly a copy an paste from CArray, I know.
:-)