> you should not worry about optimizing boolean values unless you would store
them in database.
I DO need to store them in a database, that's why I'm asking. I won't care
if I only use PHP, since it won't keep my data in memory for a long time.

> anyways, use bitwise operators
I think I've stated that I don't want to use bitwise operations. It's OK for
small sets, but not for a set with about 200 elements. Anyway, I found
bitset library in PECL, but I found no documentation at all.
-- 
View this message in context: 
http://www.nabble.com/optimizing-space-for-array-of-booleans-tp22159131p22174206.html
Sent from the PHP - General mailing list archive at Nabble.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to