It'd seek to a particular key value. There are certainly trees that would also allow seeking to a particular index. I don't care whether there is a way to override the default comparison function (just cmp).
Yes, using an attribute for this would be fine.
Update: s/<=>/cmp/.
- tye
In reply to Re^3: what would you like to see in perl5.12? (trees)
by tye
in thread what would you like to see in perl5.12?
by ysth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |