Btw, using $& instead of creating capture groups and $1 gives a slight boost to "buk3". Also, I earlier experimented with "yr" - using "pos" (as it is) also gives quite a boost against using $-[0] or $+[0].
Interesting. Something for me to experiment with next time I'm doing something similar.
Also, did you see the results from eily's approach to the problem?
In reply to Re^7: PDL: Looking for efficient way to extract sub-images, by finding bounding boxes of "objects" (FAQ6: $&)
by BrowserUk
in thread PDL: Looking for efficient way to extract sub-images, by finding bounding boxes of "objects"
by vr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |