Behdad Esfahbod
|
c53c648127
|
[subset-cff] Another handrolled memcpy
|
2 years ago |
Behdad Esfahbod
|
ae578705c2
|
[array] Write hash as range for loop again
Now that our range loop is faster than our own iter.
|
2 years ago |
Behdad Esfahbod
|
13e1ca9eb5
|
[cff] Micro-optimize memcpy
|
2 years ago |
Behdad Esfahbod
|
2968dd7844
|
[gvar] Optimize as_array() access
|
2 years ago |
Behdad Esfahbod
|
bb3bb76450
|
[gvar] Optimize scalar = 1.0 case
|
2 years ago |
Behdad Esfahbod
|
2d098d5d7f
|
[gvar] Use memset
|
2 years ago |
Behdad Esfahbod
|
e630a65e60
|
[gvar] Micro-optize vector extend
|
2 years ago |
Behdad Esfahbod
|
49d4f62135
|
[gvar] Micro-optimize
|
2 years ago |
Behdad Esfahbod
|
1758ee6646
|
[glyf] Minor write loop more idiomatically
|
2 years ago |
Behdad Esfahbod
|
16ec9dcc1b
|
[gvar] Whitespace
|
2 years ago |
Behdad Esfahbod
|
b567ce51d3
|
[subset] Don't trim glyf's again if preprocessed
Speeds up M1/10000 benchmark by 30%!
|
2 years ago |
Behdad Esfahbod
|
72059a4789
|
[gvar] Optimize IUP alg
|
2 years ago |
Behdad Esfahbod
|
ee9873b5ed
|
[gvar] Disable initializing vectors when not necessary
|
2 years ago |
Behdad Esfahbod
|
b0d2641186
|
[vector] Add "initialize" argument to resize()
|
2 years ago |
Behdad Esfahbod
|
a2059f8f55
|
[gvar] Optimize unpack_points
|
2 years ago |
Behdad Esfahbod
|
6d7206b68b
|
[gvar] Optimize unpack_deltas
|
2 years ago |
Behdad Esfahbod
|
bca569ae53
|
[array] Speed up hash() for byte arrays
|
2 years ago |
Behdad Esfahbod
|
d7b492e3f5
|
Revert "[array] Remove hash specializations for bytes"
This reverts commit 213117317c .
|
2 years ago |
Behdad Esfahbod
|
1572ba281a
|
[subset-cff] Return in subr closure if already seen subr
Not sure why this was not done before.
|
2 years ago |
Behdad Esfahbod
|
a29ca6efbc
|
[subset-cff] Comment
|
2 years ago |
Behdad Esfahbod
|
28e767ddea
|
[subset-cff] Really optimize op_str_t / parsed_cs_op_t layout
Now parsed_cs_op_t and op_str_t are both 16 bytes.
Saves another 7% in SourceHanSans/10000 benchmark.
|
2 years ago |
Behdad Esfahbod
|
2d5ee23731
|
[subset-cff] Readjust parsed_cs_op_t
Now it doesn't matter anymore since op_str_t is adjusted and
is 16 bytes with 8byte alignment.
|
2 years ago |
Behdad Esfahbod
|
4f056b923a
|
[subset-cff] Optimize op_str_t layout
|
2 years ago |
Behdad Esfahbod
|
a750cb0128
|
Simplify rvalue creation
|
2 years ago |
Behdad Esfahbod
|
86a763c651
|
[map] Make keys moveable
|
2 years ago |
Behdad Esfahbod
|
cf20d2ec5d
|
[map] Take const key
|
2 years ago |
Behdad Esfahbod
|
3d1c76f713
|
[serializer] Don't hash objects twice
|
2 years ago |
Behdad Esfahbod
|
35878df215
|
[algs] Implement swap() for pair_t
Helps priority_queue::pop_minimum and friends, which help subsetter
repacker. Shows a few percentage improvement on NotoNastaliq benchmark.
|
2 years ago |
Behdad Esfahbod
|
a2984a2932
|
[cff] Remove unnecessary namespacing
|
2 years ago |
Behdad Esfahbod
|
dc3bb5e0ed
|
[subset-cff] Pre-allocate values array for subroutines as well
|
2 years ago |
Behdad Esfahbod
|
c6279224db
|
[cff] Adjust pre-allocation
This better matches actual usage, given that ops are one or two
bytes, and vector also allocates 50% extra.
|
2 years ago |
Behdad Esfahbod
|
bab8ec58b0
|
[subset-cff] Disable sharing when packing charstring INDEXes
Saves another 8%ish.
|
2 years ago |
Behdad Esfahbod
|
2cadacad6c
|
[cff] Simplify str_encoder_t error handling
|
2 years ago |
Behdad Esfahbod
|
f263e3fe2e
|
[cff] Manually copy short strings instead of memcpy()
|
2 years ago |
Behdad Esfahbod
|
38efd1862f
|
[cff] Add a likely()
|
2 years ago |
Behdad Esfahbod
|
191025cc96
|
[cff] Adjust buffer pre-allocation
Most ops take one or two bytes, so allocate count*2, not count*3.
Shows minor speedup in subsetting benchmark (around 2%).
|
2 years ago |
Behdad Esfahbod
|
4b2caafea2
|
[subset-cff] Optimize parsed_cs_op_t size
Shows 5% speedup on SourceHanSans-Regular/10000 benchmark.
|
2 years ago |
Behdad Esfahbod
|
e0b06bd1b1
|
[subset] Cache has_seac in accelerator
Speeds up SourceHanSans-Regular/10000 benchmark by %25.
|
2 years ago |
Garret Rieger
|
dd1ba328a8
|
[repacker] fix fuzzer timeout.
For https://oss-fuzz.com/testcase-detail/5845846876356608. Only process the set of unique overflows.
|
2 years ago |
Behdad Esfahbod
|
59451502e9
|
[cff] Optimize env error checking
|
2 years ago |
Behdad Esfahbod
|
b238578a9c
|
[cff] Optimize INDEX operator[]
|
2 years ago |
Behdad Esfahbod
|
d9de515a38
|
[cff] Optimize byte_str_ref_t array access
|
2 years ago |
Behdad Esfahbod
|
a81ec9b2b6
|
[cff] Optimize byte_str_ref_t inc()
Shows a couple percent speedup.
|
2 years ago |
Behdad Esfahbod
|
3ff75411bd
|
[algs] Fix bot fail
|
2 years ago |
Behdad Esfahbod
|
b81e3989f8
|
Try fixing arm-eabi build after a10cfe3f32
|
2 years ago |
Behdad Esfahbod
|
4c14043b06
|
[algs] Add output argument to hb_unsigned_mul_overflows()
|
2 years ago |
Behdad Esfahbod
|
25adbb3825
|
[algs] Use __builtin_mul_overflow
Compiles to smaller binary.
|
2 years ago |
Behdad Esfahbod
|
a10cfe3f32
|
[algs] Write hb_in_ranges() recursively
|
2 years ago |
Behdad Esfahbod
|
2e86700e30
|
[gvar] Add memory-barrier as in ArrayOf
|
2 years ago |
Behdad Esfahbod
|
b00a911fa7
|
[sorted-array] Add faster iterator implementation here as well
|
2 years ago |