optimization time !
optimization time !
- Subject: optimization time !
- From: Candide Kemmler <email@hidden>
- Date: Sat, 7 Jul 2001 01:40:26 +0200
Hi !
And first a big thank you for all your help. I now have a first
appreciable result. I have my maps generated and the rendering is very
acceptable. A few things to settle and it will be just OK.
The big problem is still performance. I insist that there is not a line
of Java code in my program. I just gave up with this. It is all written
in Objective-C/C. But, because I just began learning those languages
last week, it could well be a matter of code...
BTW, I put an example map at the following address:
http://fractals.be:8080/examples/map.pdf
I noticed one thing: the more the moveTo's, lineTo's, the slower the
routine. I can't believe it ! Such basic things had to be lightning
fast ! And when there's text involved, things are even worse. The
database access is just fast (MySQL) and even when the data's cached,
the rendering is still slooow.
Any tricks known around to make drawing things like maps faster ???
Candide
PS: the same maps (exactly the same :-) are generated to .swf
(Macromedia Flash) by my server. They draw MUCH faster on-screen. But
there the server-side generation takes time... I guess there are good
hackers at Macromedia.