Changes between Initial Version and Version 1 of Ticket #21179, comment 12
- Timestamp:
- Feb 22, 2014, 1:53:45 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21179, comment 12
initial v1 1 1 You can also test this with an infinite series, such as the classic Fibonacci function, if you replace the range generator with something like: 2 2 3 {{{ 4 #!python 5 def fib(): 6 a, b = 0, 1 7 while 1: 8 yield a 9 a, b = b, a + b 3 10 11 }}} 4 12 I tested this and the memory use did not increase significantly even after streaming over a gigabyte of data for a single request.