Jorge Godoy wrote: > You know python will reuse memory, right? You instantiate the class, do what > you have to do and when it goes out of scope it is garbage collected. You > could, also, "del()" the instantiated classes to allow this memory to be used > by other parts of your system. > > But, if you find it better to write code outside of this environment and > replicate all what TG already does, then go for it! >
But I don't need any of what TG does :-) Basically, my app is an online sports game, like Championship Manager on the Internet. Every night there are matches which need to be played - I need an algorithm to run through all the matches to be played, and then determine a winner for each match depending on the tactics and statistics which are in my model. Each match will probably take a long time to process, maybe 5 seconds, maybe a minute. However, I need no output, just model manipulation. Given the heavy processing, I'd rather not have to throw an HTTP client, HTTP server, controller and templating engine in to the mix when it's just not necessary. *Literally* all I need from my TG app is the model :-) -Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

