[REBOL] Re: Reverse select?
From: tim-johnsons:web at: 9-Aug-2007 14:33
On Wednesday 08 August 2007, Anton Rolls wrote:
> SELECT does not have any refinement to control
> search direction.
> You could do:
> select reverse copy states "Wyoming"
> But I don't recommend that because it's quite inefficient,
> which would affect large datasets.
A function (such as my 'before function)
either found: find data key[pick data (index? found) - 1][none]
Is easy enough to write and is probably acceptably efficient,
but to implement it in the "C" code so that 'select would
have a 'before refinement would be most useful...
and speed up performance.