because you perform this multiple times, a lookup table for $target could be a good solution (depends on the possible range of values for $target). if this is possible and you have no idea how to implement this, ask again...
In reply to Re: getting elements from an array based on a value not in the array
by lima1
in thread getting elements from an array based on a value not in the array
by ginni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |