While I was looking around to find a listbox, I looked at the DirList
code and ran the TestDirList.py stdwin demo. Now this demo is
*painfully* slow and uses gobs and gobs of processor time. Is this
normal?
% time Python TestDirList.py
Time: 2:28.41 total 137.090 user 4.080 system 95.1% CPU
IO: 59+1 io 391+3 r/w syscalls 0+0 raw r/w
Mem: 0+14058 maj/min pf 137+344 incr/decr pff 0 max 187 zero 0 swaps
Sys: 147+1 vol/invol ctxsw 2306 system calls 0 signals
This means that in a little over two minutes I burned a little over two
minutes of CPU time (gulp!). And the only thing I did is open five
directories or so (I started somewhere in ~/lib/python/demos/stdwin and
went up to the parent directory five times until I was in my home
directory). And the code is not spinning, since it wouldn't burn
anything if I didn't touch it. Insights anyone (read: Guido :-).
Thanks,
-Jaap-
-- Jaap Vermeulen +--------------------------+ | Sequent Computer Systems | Internet : jaap@sequent.com | Beaverton, Oregon | Uucp : ...uunet!sequent!jaap +--------------------------+