(The parse tree that perl5.10.0 -cMre=debug -we 'm/(?:be|ea|a)++\d/' and perl5.10.0 -cMre=debug -we 'm/(?>(?:be|ea|a)+)\d/' are indeed identical).
But it doesn't explain the performance compared to the non-possessive non-atomic form.
In reply to Re^2: Performance of possessive quantifiers
by moritz
in thread Performance of possessive quantifiers
by moritz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |