You'll gain a lot more speed rewriting it in XS and using the multicall interface to call $code.
In reply to Re^2: Variable number of foreach loops (improving performance)
by tobyink
in thread Variable number of foreach loops
by abhay180
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |