Alec Thomas wrote: > PS. The inline expansion is very cool :) > Thanks!
> I just had a thought though...it would probably be a fair bit faster > if it didn't have to render all the chrome. Or does this already > happen? > Yeah, this already happens in part, as it just renders trac/vc/templates/dir_entries.html. I think it could be sped up a bit more by not putting expensive stuff in the data dict in that specific situation (quickjump_entries come to mind). Note also that the above template is not yet rendered as a fragment, as it should probably be, and that's why the <DOCTYPE> replacement trick was used. The current way to render a fragment is not very convenient (call render_template(... fragment=True), serialize, write to the req, then raise RequestDone; see e.g. in changeset.py). It's one of the things we can try to make easier in process_request(), maybe by returning some additional rendering options. -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
