Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64649
| From | Dave Angel <davea@davea.name> |
|---|---|
| Subject | Re: generate De Bruijn sequence memory and string vs lists |
| Date | 2014-01-23 20:08 -0500 |
| Organization | news.gmane.org |
| References | <CALyJZZVU+j64Jn7fqqzLmwW+KcM=43UMKjo=HW7umnq8MSP2Uw@mail.gmail.com> <lbrf82$fb3$1@ger.gmane.org> <CALyJZZVtprtuZ1GCKKDppfwHybGaSyqZHpP_+3fUKB84TruJUg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5921.1390525561.18130.python-list@python.org> (permalink) |
Vincent Davis <vincent@vincentdavis.net> Wrote in message: > I didn't really study the code, and the fact that there's a nested function could mess it up. But if it were a straightforward function with exactly one append, , then replacing the append with a yield would produce the string one character at a time. -- DaveA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: generate De Bruijn sequence memory and string vs lists Dave Angel <davea@davea.name> - 2014-01-23 20:08 -0500
csiph-web