Re: PATCH: Use floats instead of doubles in some spline calculations for improved performance

<[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
>Could you provide some error analysis to show when your patch is applicable and
>the accuracy sufficient?

No formal analysis has been made, but I ran canvas performance test
(http://dl.dropbox.com/u/1865210/mindcat/canvas_perf.html - on ARM and
rendered using Cairo) 15 times. During those tests _cairo_spline_error_squared
was called about 100 million times with randomized data and just once
there was one pixel difference between double and float versions.

Unfortunately I didn't record the used spline in that case and haven't been
able to reproduce that since.

--MarkoK--
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.