generate De Bruijn sequence memory and string vs lists

Dave Angel davea at davea.name
Thu Jan 23 11:18:41 EST 2014


 Vincent Davis <vincent at vincentdavis.net> Wrote in message:
> 
(something about your message seems to make it unquotable)

64gig is 4^18, so you can forget about holding a string of size 4^50

If memory size is your issue,  why not make the function a
 generator,  by replacing the append with a yield?
 

-- 
DaveA




More information about the Python-list mailing list