harfbuzz icon indicating copy to clipboard operation
harfbuzz copied to clipboard

`tuple_data_t` micro-optimization

Open behdad opened this issue 2 years ago • 3 comments

Are we always sure that indices and x_deltas and y_deltas if available, have the same length? Ie. no allocation failure? If yes we can use arrayZ in operator *=, operator +=, and possibly other places.

behdad avatar Nov 01 '23 22:11 behdad

Same in compile_deltas when rounding.

behdad avatar Nov 01 '23 22:11 behdad

Yes, I think so, I'll work on this.

qxliu76 avatar Nov 02 '23 16:11 qxliu76