Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64621

Re:generate De Bruijn sequence memory and string vs lists

From Dave Angel <davea@davea.name>
Subject Re:generate De Bruijn sequence memory and string vs lists
Date 2014-01-23 11:18 -0500
Organization news.gmane.org
References <CALyJZZVU+j64Jn7fqqzLmwW+KcM=43UMKjo=HW7umnq8MSP2Uw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5898.1390493790.18130.python-list@python.org> (permalink)

Show all headers | View raw


 Vincent Davis <vincent@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re:generate De Bruijn sequence memory and string vs lists Dave Angel <davea@davea.name> - 2014-01-23 11:18 -0500

csiph-web