[wxPython-users] wxMozilla
Diego Jacobi
jacobidiego at gmail.com
Tue Sep 4 18:16:11 PDT 2007
2007/9/4, Christopher Barker <Chris.Barker at noaa.gov>:
> It's not about whether it's a good idea to have programs be smaller and
> more efficient -- it's about how much work does it take to do, and is
> that work worth it?
Good point. But only the user interface needs to save work. Normally the
core should be as good as it could be. After all the core is used lots of
times per second and the user interface is just when the user clicks
something.
If we all thought small size was paramount, we
> wouldn't be using Python -- and certainly not wxPython -- at all.
I use python for a few reasons. I just call compiled C functions, so in
python i just tell when the core functions should be called, they are as
optimiced as they can be. AND the same python language is very like the most
commonly used C structures, just much more easy to write and if i need, i
can use a python to C converter (in some cases). But i really like the bunch
of portable functions. I wish to have them in C without PyObjects. (yes, i
could if i use exactly the same packages as python)
An example : I bought a Nokia 770 last year -- it had 64MB of RAM. The
> 30MB or so that wxPython requires was going to tax that heavily, so I
> started looking into trying to reduce that. Before I got far at all, I
> upgraded to a Nokia n800, which has 128MB, which makes the whole problem
> less important. Of course, I haven't gotten around to the port yet
> anyway, and by the time I do, there will probably be anew version with
> 512MB
>
> -Chris
So if your programm correctly takes 32Mb of 64 is 1/2 and of 512 is 1/16.
But if you make your program run with 16 Mb: of 64 is 1/4 and of 1/32.
It worths it. You can have twice features in the same resources.
Also if each algoritm is well done you save time waiting for a task to be
accomplished.
But sometimes one's just need the aplication for one propose and no to make
it widely used. In those cases programming and programmers time is more
important.
Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200709=
04/dc8377e0/attachment.htm
More information about the wxpython-users
mailing list