Because model are re-read at every request, modules are not. I am not sure if this is a big effect since the code has to be executed anyway. Just worth a try.
@rb, one more thing. Make sure you use connection pooling if you do not use sqlite. On Sep 29, 9:55 am, Jonathan Lundell <jlund...@pobox.com> wrote: > On Sep 29, 2009, at 7:03 AM, mdipierro wrote: > > > If you still need more speed move the table definitions in a module > > (not a model) and import it from the model. I would not recommend this > > to everybody but 93 is a lot. > > How does that speed things up? (Just curious.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---