Hello,
I need some advise or pointers on how to save memory when running some php.
I have a piece of code in a plugin i'm developing and it works beautifully. But i get some reports that it takes a lot of memory on some peoples servers.
The code in question is quite lengthy and creates several arrays, filters them, sorts them, that result creates another array and so on.
Would it help at all to unset() arrays when i no longer need them? Or is an idle, no longer used array not taking memory anymore?
I never gave it much thought... So here i am.
Thanks!