[wxPython] slow loading of HTML pages

Hello,

Hi,

> Is there a way to speed up the loading of HTML pages??

what about giving use *details* about your problem? Loading HTML is fast
enough in most cases, SetPage("<html><body>Hello</body></html>") won't take
any time at all... In order to answer you, I need to know
- your platform

QNX 6.1

- your wxPython version

2.2.7

- profile of your HTML pages (long/short, no images/lots of images)

~5kB HTML code ... one bmp image ~900k

In the meantime I found out that the bottleneck is the loading of the
bmp image.

I have to look into these details ... any useful hints?

Armin Steinhoff

ยทยทยท

wxpython-users@lists.wxwindows.org schrieb am 19.10.01:

_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de

Hi,

In the meantime I found out that the bottleneck is the loading of
the bmp image.

I have to look into these details ... any useful hints?

Yes -- don't use BMP at all. The loader is painfully slow. Use PNG or
JPEG or GIF or even PCX (both PCX and GIF loaders are small; PNG and
JPEG ones are ~200kB of compiled code). Alternatively, rewrite the
wxImage BMP handler to work faster :wink:

Vaclav