Mike Meyer <[EMAIL PROTECTED]> writes:
> Six megabytes is pretty much nothing on a modern computer. I'd store
> the things as a string of "0" and "1", and then use .find (or maybe
> the in keyword) for doing the searches.
> 
> This doesn't work very well if you're going to mutate the string,
> though.

You can use re.search on array.array byte vectors.  I don't know how
the speed compares with string.find.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to