On 5/20/06, Robin Haswell <[EMAIL PROTECTED]> wrote:

Jorge Vargas wrote:
> Back to my original though, TG relies on highlevel pure-python modules,
> all based on std api, the only one that stands out is the elementtree
> which is done in C for efficiency, so you should have no problem doing
> cross-platform, i run TG stuff both on linux and windows and everything
> works great with the same packages.

I think I remember someone mentioning that if cElementTree is missing TG
will fallback to ElementTree. You might want to consider removing cET
and replacing it with ET - although you will suffer a performance hit :(

yes your right about it, but I didn't want to go there because the performance hit is really really big. from elementtree site:

"The cElementTree module is a C implementation of the ElementTree API, optimized for fast parsing and low memory use. On typical documents, cElementTree is 15-20 times faster than the Python version of ElementTree, and uses 2-5 times less memory. On modern hardware, that means that documents in the 50-100 megabyte range can be manipulated in memory, and that documents in the 0-1 megabyte range load in zero time (0.0 seconds). This allows you to drastically simplify many kinds of XML applications."

and since he is taking the troubles of cross-compiling we wouldn't want that to happen :)

-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
-~----------~----~----~----~------~----~------~--~---

Reply via email to