Re: [Twisted-Python] Speed of rendering?

Glyph <[email protected]> Wed, 27 Feb 2013 10:24:16 -0800
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
On Feb 27, 2013, at 3:55 AM, Peter Westlake <[email protected]> wrote:

> The real problem is that recursion-by-Deferred
> doesn't have the optimisation for tail recursion found in
> most functional languages, because that would be very
> difficult and it's not how Deferreds are usually used.

Actually it *is* supposed to have this sort of optimization.  You can see the work on this on my favorite (now long-since closed) Twisted ticket: <http://twistedmatrix.com/trac/ticket/411>.

So it might be interesting to investigate why that doesn't help in this case, and if it could be made to.

-glyph

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web