Page 1 of 1
Data storage - listeners or arrays?
Posted: Tue Apr 25, 2006 12:25 pm
by Rookie One.pl
As in topic - which way of data storage is more economical (in terms of memory and CPU usage)? Spawning listeners or using associative arrays?
Posted: Tue Apr 25, 2006 6:53 pm
by jv_map
I think arrays are faster... mostly a guess though.
Know that when spawning listeners, you'll have to remove them manually (when you don't need em anymore) or you have a memory leak.
Posted: Tue Apr 25, 2006 7:17 pm
by Rookie One.pl
Yeah, that's what I've been guessing as well. Thanks, m8.

I'll have a look at the FAKK source, too, maybe I'll find something interesting.