Behdad Esfahbod
4ea3737d04
[gsubgpos] Add fast-path for end-of-string in (Chain)RuleSet::apply()
2023-07-17 09:50:28 -06:00
Behdad Esfahbod
e7ce633946
[algs] Fix -Wcomma errors
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4328
2023-07-17 08:52:12 -06:00
dependabot[bot]
af095d90e3
Bump github/codeql-action from 2.20.3 to 2.20.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.20.3 to 2.20.4.
- [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/46ed16ded91731b2df79a2893d3aea8e9f03b5c4...489225d82a57396c6f426a40e66d461b16b3461d )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 08:50:12 -06:00
dependabot[bot]
b031bbde94
Bump actions/setup-python from 4.6.1 to 4.7.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/bd6b4b6205c4dbad673328db7b31b7fab9e241c0...61a6322f88396a6271a6ee3565807d608ecaddd1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 08:49:59 -06:00
dependabot[bot]
ae8fea081a
Bump fonttools from 4.40.0 to 4.41.0 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.40.0 to 4.41.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.40.0...4.41.0 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 08:49:47 -06:00
dependabot[bot]
da84a078ee
Bump meson from 1.1.1 to 1.2.0 in /.ci
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.1.1...1.2.0 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 08:49:32 -06:00
Behdad Esfahbod
4973053109
Config
2023-07-16 13:09:49 -06:00
Behdad Esfahbod
645fabd101
[gsubgpos] Vastly speed up ChainRuleSet / RuleSet matching
...
Match the first component in a fast loop.
Idea replicated from LigatureSet.
Speeds up Gulzar shaping by 22%!
37% in NotoNastaliqUrdu!
2023-07-16 11:39:46 -06:00
Behdad Esfahbod
77080f86f8
.
2023-07-16 11:26:32 -06:00
Behdad Esfahbod
5c8f3b7fec
[gsubgpos] Conditionally cache backtrack again
2023-07-16 09:39:18 -06:00
Behdad Esfahbod
52237eb1fe
[ChainContext] More caching
2023-07-16 09:07:25 -06:00
Behdad Esfahbod
62e10c9fa0
Revert "[gsubgpos] Allocate iterators further up"
...
This reverts commit b9f364b8fc .
2023-07-16 08:43:18 -06:00
Behdad Esfahbod
b9f364b8fc
[gsubgpos] Allocate iterators further up
...
To avoid calling set_match_func repeatedly.
Doesn't show speedup. Going to revert.
2023-07-16 08:43:15 -06:00
Behdad Esfahbod
c2f454c7e2
[gsubgpos] Fix residual from 5af80f349c
2023-07-16 08:23:59 -06:00
Behdad Esfahbod
4e641103d4
[buffer] Inline a method
2023-07-16 07:40:20 -06:00
Behdad Esfahbod
5af80f349c
[ChainContext] Cache two class values
...
7% speedup shaping Gulzar.
2023-07-16 07:27:28 -06:00
Behdad Esfahbod
8cde4fa9a0
[gsubgpos] Inline a couple methods
2023-07-16 06:01:06 -06:00
Behdad Esfahbod
f94508edd6
[Ligature] Micro-optimize
2023-07-15 15:28:19 -06:00
Behdad Esfahbod
76de3451e6
[ot-shape] Short-circuit spaces as well
2023-07-15 15:00:23 -06:00
Behdad Esfahbod
765da4db19
[ot-shape] Minor short-circuit
2023-07-15 14:55:36 -06:00
Behdad Esfahbod
7b8e0bbb9f
[ot-shape] Minor short-circuit
2023-07-15 14:53:15 -06:00
Behdad Esfahbod
b2d648e41b
[perf/benchmark-subset] Rename subset_codepoints to subset_unicodes
2023-07-15 14:26:06 -06:00
Behdad Esfahbod
a56288488c
[subset] Speed up a couple of set iteration loops
...
Need to speed up set::next_range() for the second one to have
any effect.
2023-07-15 14:22:17 -06:00
Behdad Esfahbod
326d319f93
[graph] Micro-optimize
2023-07-15 13:14:34 -06:00
Behdad Esfahbod
548230e45e
[graph] Early return from a function
2023-07-15 13:13:16 -06:00
Behdad Esfahbod
09706b04fc
[graph] Add a pre-alloc to map
2023-07-15 13:11:04 -06:00
Behdad Esfahbod
d1ddfc4d10
[graph] Use move instead of swap
2023-07-14 14:52:43 -06:00
Behdad Esfahbod
07cb6bf87a
[graph] Minor, type
2023-07-14 13:38:33 -06:00
Behdad Esfahbod
867640af31
Revert "[set] Add test_and_add / test_and_del"
...
This reverts commit de1237fbf2 .
This seems to be a net loss.
2023-07-14 13:09:16 -06:00
Behdad Esfahbod
10b776b0c3
[graph] Micro-optimize
2023-07-14 13:08:19 -06:00
Behdad Esfahbod
de1237fbf2
[set] Add test_and_add / test_and_del
...
Use in graph.
2023-07-14 12:38:56 -06:00
Behdad Esfahbod
7f1ff9c881
[graph] Micro-optimize array access
2023-07-14 12:22:24 -06:00
Behdad Esfahbod
d9cf9b5f07
[priority-queue] Inline insert()
2023-07-14 12:19:10 -06:00
Behdad Esfahbod
d00b88737e
Revert "[subset/closure] Batch recursions in scheduled stages"
...
This reverts commit f2aaeeb301 .
2023-07-14 11:26:51 -06:00
Behdad Esfahbod
5e42f7bb6d
Revert "Revert "[priority-queue] Inline a couple more""
...
This reverts commit 915410e526 .
Mistake.
2023-07-14 11:26:38 -06:00
Behdad Esfahbod
915410e526
Revert "[priority-queue] Inline a couple more"
...
This reverts commit 8704d73213 .
2023-07-14 11:19:12 -06:00
Behdad Esfahbod
f2aaeeb301
[subset/closure] Batch recursions in scheduled stages
...
Going to revert. Doesn't pass tests and savings are minor.
2023-07-14 11:19:12 -06:00
Khaled Hosny
5a65ede5d4
Minor
2023-07-12 10:18:31 +03:00
Khaled Hosny
d160d9389c
8.0.1
8.0.1
2023-07-12 08:27:25 +03:00
Behdad Esfahbod
8704d73213
[priority-queue] Inline a couple more
2023-07-10 18:11:50 -06:00
Behdad Esfahbod
4c9e8b848b
[priority-queue] Always-inline a method
2023-07-10 18:04:03 -06:00
Behdad Esfahbod
c41b0d7b83
[sanitize/PairValueRecord] Add a max_size for faster sanitize
2023-07-10 17:25:08 -06:00
Behdad Esfahbod
c14f94f76b
Fix compiler error
...
hb-ot-var-common.hh:758:32: error: implicit conversion from 'int' to 'char' changes value from 191 to -65 [-Werror,
-Wconstant-conversion]
*it++ = (DELTAS_ARE_ZERO | 63);
2023-07-10 19:03:20 -04:00
Behdad Esfahbod
fcc5d3df39
Add -Wconstant-conversion to errors
2023-07-10 19:03:20 -04:00
dependabot[bot]
d1855e902d
Bump github/codeql-action from 2.20.1 to 2.20.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.20.1 to 2.20.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/f6e388ebf0efc915c6c5b165b019ee61a6746a38...46ed16ded91731b2df79a2893d3aea8e9f03b5c4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-10 14:34:15 -04:00
Behdad Esfahbod
997986ab30
[subset/hvar] Error handling
...
Fixes https://oss-fuzz.com/testcase-detail/5029952234586112
2023-07-09 15:16:06 -06:00
Behdad Esfahbod
0980e2b748
Minor casts
2023-07-09 15:13:57 -06:00
Behdad Esfahbod
db3aeeb547
[subset] Fix cast-align issue
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4316
2023-07-09 12:32:49 -06:00
Behdad Esfahbod
fc24ffbfb3
[priority-queue] Minor simplify
...
Tail-recursion definitely was being optimized by compiler,
but I prefer writing it this way.
2023-07-09 11:05:52 -06:00
Behdad Esfahbod
557653abce
[cff] Minor; add tableTag
2023-07-09 10:18:04 -06:00