Commit Graph
19721 Commits
Author SHA1 Message Date
Behdad Esfahbod 516c35cfd5 [buffer-message] Disable "more" messages by default (#5577)
This was not suppoosed to be turned on by default, as it has a
performance overhead. Instead, tools like Crowbar should define
HB_BUFFER_MESSAGE_MORE to 1 when building HarfBuzz.
2025-09-23 08:13:28 -06:00
Behdad Esfahbod b2a6375b81 [ot-shape] Update update_digest() calls
Correction to ccfd1ae2d6
2025-09-22 17:31:11 -04:00
Behdad Esfahbod 3ce3853a96 Merge pull request #5575 from harfbuzz/apply-forward-speedup
[apply-forward] Speed up glyph skipping
2025-09-22 17:17:28 -04:00
Behdad Esfahbod b58efec228 Merge pull request #5576 from harfbuzz/buffer-digest-retain
[buffer] Retain digest in the buffer
2025-09-22 17:13:34 -04:00
Behdad Esfahbod eeb16bd4d3 [apply-forward] Speed up glyph skipping
6% speedup in Roboto-Regular benchmark.
2025-09-22 16:59:28 -04:00
Behdad Esfahbod ccfd1ae2d6 [buffer] Retain digest in the buffer
We don't have to reinitialize it for GPOS now, showing some
1.5% speedup on Roboto-Regular benchmark.

Over time we can change the various gsub_pauses to update the digest
in-place instead of returning true.
2025-09-22 16:49:29 -04:00
Behdad Esfahbod 7ec40c2b8b Merge pull request #5574 from harfbuzz/iup-speedup
Iup speedup
2025-09-22 15:02:01 -04:00
Behdad Esfahbod 19b026b319 [iup] Use a member pointer 2025-09-22 14:48:42 -04:00
Behdad Esfahbod 3477162043 [iup] Add an early exit 2025-09-22 14:45:42 -04:00
Behdad Esfahbod 1c7c3e50cc [iup] Micro-optimize
Doesn't matter.
2025-09-22 14:36:02 -04:00
Khaled Hosny 7497c41474 11.5.1 11.5.1 2025-09-22 19:58:28 +03:00
dependabot[bot] 61caa7bcc4 Bump hendrikmuhs/ccache-action from 1.2.18 to 1.2.19
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.18 to 1.2.19.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](https://github.com/hendrikmuhs/ccache-action/compare/63069e3931dedbf3b63792097479563182fe70d1...bfa03e1de4d7f7c3e80ad9109feedd05c4f5a716)

---
updated-dependencies:
- dependency-name: hendrikmuhs/ccache-action
  dependency-version: 1.2.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 14:29:38 +02:00
dependabot[bot] 6cbe46ae3b Bump github/codeql-action from 3.30.1 to 3.30.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.1 to 3.30.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/f1f6e5f6af878fb37288ce1c627459e94dbf7d01...192325c86100d080feab897ff886c34abd4c83a3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 14:29:08 +02:00
dependabot[bot] a84882ff65 Bump fonttools from 4.59.2 to 4.60.0 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.59.2 to 4.60.0.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.59.2...4.60.0)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-version: 4.60.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 14:27:45 +02:00
Behdad Esfahbod fa7b7fd888 Merge pull request #5570 from harfbuzz/alloc-pool-improvements
[alloc-pool] Implement alignment
2025-09-18 09:31:05 -06:00
Behdad Esfahbod e1fd2beeec [alloc-pool] Reduce memory usage by reclaiming some discards 2025-09-18 11:18:09 -04:00
Behdad Esfahbod a22add2530 [alloc-pool] Implement alignment 2025-09-18 11:04:06 -04:00
Behdad Esfahbod 08ff720042 [set] Speed up iterator 2025-09-18 10:57:43 -04:00
Behdad Esfahbod 230243378c [instancer/iup] Reduce mallocs again
Perhaps shrink() shouldn't default to realloc. Working on it.
2025-09-17 15:32:46 -04:00
Behdad Esfahbod 80a6f4b65e Merge pull request #5569 from harfbuzz/instancer-opt-more
Instancer opt more
2025-09-16 22:32:13 -06:00
Behdad Esfahbod 2be836c151 Revert "[instancer] Preallocate coordinate maps from alloc pool as well"
This reverts commit 3f71afe760.

Slowed things down.
2025-09-17 00:31:50 -04:00
Behdad Esfahbod 3f71afe760 [instancer] Preallocate coordinate maps from alloc pool as well 2025-09-17 00:26:40 -04:00
Behdad Esfahbod c03e1e0a7b [iup] Use a bit-page instead of bit-set
Reject large contours instead.
2025-09-16 23:51:19 -04:00
Behdad Esfahbod d4cc4823fa [instancer/tuplevar] Tune allocation size 2025-09-16 17:00:38 -06:00
Behdad Esfahbod 5b04b40dd5 [instancer/tuplevars] Allocate compiled_deltas from alloc pool 2025-09-16 16:52:53 -06:00
Behdad Esfahbod ea9b7de4ed [instancer/tuplevars] Allocate compiled_tuple_headers from alloc pool 2025-09-16 16:46:02 -06:00
Behdad Esfahbod bdac0aec2e [vector] Make shrink() useful in un-owned vectors 2025-09-16 16:42:32 -06:00
Behdad Esfahbod c2f2121527 [vector] Simplify allocate_from_pool / set_storage 2025-09-16 16:29:23 -06:00
Behdad Esfahbod 3ace032319 Merge pull request #5568 from harfbuzz/tuplevar-assignment-pool
[tuplevar] Use pool for assignment / copy construction
2025-09-16 11:17:29 -06:00
Behdad Esfahbod fb0ef230c9 Revert "[tuplevars] Allocate from pool"
This reverts commit 94d78de954.

Slowed things down.
2025-09-16 11:16:30 -06:00
Behdad Esfahbod 94d78de954 [tuplevars] Allocate from pool 2025-09-16 11:13:19 -06:00
Behdad Esfahbod f7e2d9a0f9 [alloc-pool] Tweak 2025-09-16 11:13:13 -06:00
Behdad Esfahbod f5fdf42615 [tuplevar] Use pool for duplicating 2025-09-16 10:45:33 -06:00
Behdad Esfahbod 53243ad27e Merge pull request #5567 from harfbuzz/tuplevalues-micro-opt
[tuplevalues] Speed up encoding
2025-09-16 02:15:21 -06:00
Behdad Esfahbod f9cd59ae41 [tuplevar] More use of pool 2025-09-16 01:45:36 -06:00
Behdad Esfahbod 12ce710f5c [tuplevar] Use alloc-pool instead of custom pool 2025-09-16 01:44:47 -06:00
Behdad Esfahbod 43e017f895 [tupledelta] Micro optimize 2025-09-16 01:31:21 -06:00
Behdad Esfahbod ebdeb2e30e [tuplevalues] Speed up encoding 2025-09-16 01:22:38 -06:00
Behdad Esfahbod 56e10f04f0 Merge pull request #5566 from harfbuzz/alloc-pool
Alloc pool
2025-09-16 01:02:12 -06:00
Behdad Esfahbod 755ed10915 Add hb-alloc-pool and use in gvar instancer 2025-09-16 00:43:29 -06:00
Behdad Esfahbod d6b080198e Rename hb-pool to hb-free-pool 2025-09-15 23:56:25 -06:00
Behdad Esfahbod e896575f70 Merge pull request #5565 from harfbuzz/vector-resize-simplify
[vector] Simplify resize()
2025-09-15 21:13:43 -06:00
Behdad Esfahbod 8237091363 [vector] Simplify resize() 2025-09-15 20:52:05 -06:00
Behdad Esfahbod a6aa981bf2 Merge pull request #5564 from harfbuzz/instancer-optimize-more2
[iup] Reuse more allocations
2025-09-15 20:23:28 -06:00
Behdad Esfahbod c56ef9ed89 [instancer] Reuse more allocations
These allocs are scratched. Don't free them, so we reuse.
2025-09-15 20:10:54 -06:00
Behdad Esfahbod 8e3e8c66e1 [iup] Reuse more allocations 2025-09-15 19:50:04 -06:00
Behdad Esfahbod bac2a67cc9 Merge pull request #5563 from harfbuzz/instancer-gvar-consolidate-mallocs
Instancer gvar consolidate mallocs
2025-09-15 19:30:46 -06:00
Behdad Esfahbod 82ca73a2c3 [iup] Reuse more vector allocs 2025-09-15 19:12:40 -06:00
Behdad Esfahbod e42714cfff [iup] Reuse bit-set allocs 2025-09-15 19:05:38 -06:00
Behdad Esfahbod 54ac33cce1 [iup] Reuse more mallocs 2025-09-15 19:01:53 -06:00