Changes between Initial Version and Version 1 of Ticket #21179, comment 12


Ignore:
Timestamp:
02/22/2014 01:53:45 PM (12 months ago)
Author:
zr
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21179, comment 12

    initial v1  
    11You can also test this with an infinite series, such as the classic Fibonacci function, if you replace the range generator with something like:
    22
     3{{{
     4#!python
     5def fib():
     6    a, b = 0, 1
     7    while 1:
     8        yield a
     9        a, b = b, a + b
    310
     11}}}
    412I tested this and the memory use did not increase significantly even after streaming over a gigabyte of data for a single request.
Back to Top