Jonas Jenwald
8770ca3014
Make the decryptAscii
helper function, in src/core/type1_parser.js
, slightly more efficient
...
By slicing the Uint8Array directly, rather than using the prototype and a `call` invocation, the runtime of `decryptAscii` is decreased slightly (~30% based on quick logging).
The `decryptAscii` function is still less efficient than `decrypt`, however ASCII encoded Type1 font programs are sufficiently rare that it probably doesn't matter much (we've only seen *two* examples, issue 4630 and 11740).
2020-04-06 11:21:02 +02:00
..
2020-01-25 00:20:22 +01:00
2019-12-26 12:34:24 +01:00
2020-01-14 17:49:39 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2019-12-26 12:34:24 +01:00
2020-03-23 18:28:30 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-12 11:36:59 +01:00
2020-03-25 11:57:12 +01:00
2020-03-23 18:28:30 +01:00
2019-12-26 12:34:24 +01:00
2020-04-05 16:27:50 +02:00
2020-03-23 18:28:30 +01:00
2020-04-06 11:21:02 +02:00
2020-03-25 11:57:12 +01:00
2020-01-04 13:01:43 +01:00
2020-02-22 14:16:07 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:56:05 +01:00
2020-01-04 13:01:43 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-03-19 12:41:25 +01:00
2020-03-25 11:57:12 +01:00
2020-01-04 13:01:43 +01:00
2020-03-25 11:57:12 +01:00
2020-03-25 11:57:12 +01:00
2020-02-24 17:40:06 +01:00
2020-03-25 11:57:12 +01:00
2020-04-06 11:21:02 +02:00
2020-01-04 13:01:43 +01:00
2020-01-04 13:01:43 +01:00
2020-04-01 19:42:48 +02:00