Optimizing memory usage w/ HypterText package

mensanator at aol.com mensanator at aol.com
Wed Dec 5 18:30:51 EST 2007


On Dec 5, 2:13 pm, je.s.t... at hehxduhmp.org wrote:
> mensana... at aol.com <mensana... at aol.com> wrote:
> > Here's a hint: go look at comp.lang.python on Google Groups.
> > Note that up in the right corner it says "Topics 1-30 of 98305".
> > Why do you suppose there is no option to display ALL the topics,
> > and that you are limited to 100 at a time?
>
> I have no idea.

Sure you do, you just said that an HTML file with
100000 items would be a strain on resources. Duh.

>
> Obviously a massive table is going to be a strain on resources, but
> you're not answering the question that I asked.  I was looking to see
> if I could accomplish what I was trying to do in a more optimized way -
> not looking for a "break it up into smaller tasks" answer.

Maybe there is no optimum answer.

>
> There are several reasons why breaking a display into multiple pieces
> won't necessarily work - for instance, what if the output eventually
> is intended to be an actual file? (e.g. an XML file) ...

You don't know how to write to a file without having it all
in memory at once?

> your solution doesn't really work there.  

Suit yourself. Let us know when you find the solution, I'd love
to see it.



More information about the Python-list mailing list