On 5/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
We used to render our SVG files using coordinates in the millions. This cause a lot of memory to be allocated and much time was spent allocating memory. We scaled back to thousands (i.e. divided everything by 1000) and this sped things up greatly.
Can you elaborate on this statement a bit? Merely dividing all coordinates in an SVG file by 1000, while still rendering/rasterizing the image at the same ultimate width and height in pixels, shouldn't change the rendering speed (or so it would seem to me). In other words, time it takes to perform the same number of floating point operations on the same number of floating point values shouldn't depend on the actual values themselves, should it? Or are you saying that you rendered the image at say 1000x1000 instead of 1000000x1000000, in which case a speed increase makes plenty of sense... ? Thanks, -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com
