Setting a flag on the object to not run validity checks is one option, and safer than a global variable.
Imager is on GitHub at https://github.com/tonycoz/imager so you could always raise an issue and/or submit a pull request.
In reply to Re: Double the speed of Imager->setpixel
by swl
in thread Double the speed of Imager->setpixel
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |