Commit 8dc3715
Change the
Given that what we actually want is only to keep track of the loadedFont-names, rather than storing any actual data, using an object isn't really necessary here. Furthermore, in the current code, we're also using `in` when checking if the data exists, which is generally less efficient than just checking for the value directly.seenStyles object, in PartialEvaluator.getTextContent, to a Set1 parent ebd33c2 commit 8dc3715
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
1977 | | - | |
| 1977 | + | |
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
| |||
2024 | 2024 | | |
2025 | 2025 | | |
2026 | 2026 | | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
2031 | 2033 | | |
2032 | 2034 | | |
2033 | 2035 | | |
2034 | 2036 | | |
2035 | 2037 | | |
2036 | 2038 | | |
2037 | | - | |
| 2039 | + | |
2038 | 2040 | | |
2039 | 2041 | | |
2040 | 2042 | | |
| |||
0 commit comments