|
From: | Kostya Serebryany |
Subject: | Re: [ft-devel] gray_render_scanline: very hot when fuzzing |
Date: | Tue, 6 Oct 2015 20:43:54 -0700 |
On Tue, Oct 6, 2015 at 9:42 PM, Kostya Serebryany <address@hidden> wrote:
> 51.76% repro_orig repro_orig [.] gray_render_scanline
That's been FreeType workhorse since 2.0. You gotta draw those glyphs
on a bitmap. It is funny you should mention how expensive divisions
there, because I've just committed a faster alternative with reduces
the number of divisions to a bare minimum.
I bet all gray_functions
will remain on top with perhaps 50% combined. Please let me know how
much exactly. Anyhow, there is not much left to do or fuzz after
rendering, so do not render
or short-cut it in the fuzzer.
[Prev in Thread] | Current Thread | [Next in Thread] |