I was thinking of using ARRAY SCAN to search an array, hoping
that it would be faster than the sequential search I was doing.
However, I didn't notice much of a difference in speed. Then I
tried sorting the array to see if would be scanned faster. But
I didn't see much difference either. Does ARRAY SCAN simply do
a sequential search? If so, would it would be nice if the next
version of PB did a binary search, which would be significantly
faster. Maybe, you can also have a function to index the array,
in such a way that you could do the binary search without having
to sort the array itself.
Different subject; I've used the InputBox$() function before,
but I wanted to look up the full syntax, but I didn't see it
listed in the help file index. Also, while on the topic of help file
index, under ARRAY, there's DELETE, INSERT, SCAN, and SORT. It
would be nice if clicking on one of these items jumped directly
to the appropriate topic, instead of always going to ARRAY SORT.
------------------
Daniel Corbier
UCalc Fast Math Parser
http://www.ucalc.com
that it would be faster than the sequential search I was doing.
However, I didn't notice much of a difference in speed. Then I
tried sorting the array to see if would be scanned faster. But
I didn't see much difference either. Does ARRAY SCAN simply do
a sequential search? If so, would it would be nice if the next
version of PB did a binary search, which would be significantly
faster. Maybe, you can also have a function to index the array,
in such a way that you could do the binary search without having
to sort the array itself.
Different subject; I've used the InputBox$() function before,
but I wanted to look up the full syntax, but I didn't see it
listed in the help file index. Also, while on the topic of help file
index, under ARRAY, there's DELETE, INSERT, SCAN, and SORT. It
would be nice if clicking on one of these items jumped directly
to the appropriate topic, instead of always going to ARRAY SORT.
------------------
Daniel Corbier
UCalc Fast Math Parser
http://www.ucalc.com
Comment