[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] gray_render_scanline: very hot when fuzzing
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] gray_render_scanline: very hot when fuzzing |
Date: |
Tue, 6 Oct 2015 22:59:04 -0400 |
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.