[HarfBuzz] On hb_shape_plan() and other API for 1.0

Jonathan Kew jfkthame at googlemail.com
Thu Apr 12 04:55:39 PDT 2012

On 12/4/12 02:47, Behdad Esfahbod wrote:
> As a crude test, I profiled the Indic shaping, and am conjecturing that about
> 10 to 20 percent of the time can be saved pre-planning the shaping process.
> My testing showed no measurable saving for skipping the sanitizing process.
> Maybe both can wait (and not block a 1.0 release) since neither one seems to
> be hugely effective.

A saving of 10-20% sounds pretty worthwhile to me - and if 1.0 is 
supposed to provide a long-term stable API, then perhaps this should be 
done sooner rather than later.

Otherwise, there'll be a strong temptation to rev the API again shortly 
after 1.0 in order to achieve this performance boost.


More information about the HarfBuzz mailing list