in reply to Re: Why is "any" slow in this case?
in thread Why is "any" slow in this case?
Thanks for the tip, I'll use hash look-up in refactored version. + I was wrong about numification, the picture remains the same with string comparison (hello, AI). The unexpected outcome (for me) is "never access $1, etc. more than twice per regexp executed, but assign results to throwaway lexicals instead. Even if 'access' is masked/folded in loops". Interesting. The exception of any_cr remains unresolved mystery. Thanks everyone (except "AI" with its rubbish, which was NOT interesting). Disappointed as usual about the latter.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Why is "any" slow in this case?
by LanX (Saint) on Jul 28, 2025 at 12:06 UTC | |
by Anonymous Monk on Jul 28, 2025 at 14:04 UTC | |
by LanX (Saint) on Jul 28, 2025 at 14:14 UTC | |
by ysth (Canon) on Jul 28, 2025 at 16:17 UTC | |
by Anonymous Monk on Jul 28, 2025 at 20:20 UTC | |
by LanX (Saint) on Jul 30, 2025 at 21:41 UTC | |
by LanX (Saint) on Jul 30, 2025 at 22:18 UTC | |
Re^3: Why is "any" slow in this case?
by marto (Cardinal) on Jul 28, 2025 at 11:54 UTC |