pdf.js/src/shared
Jonas Jenwald c0671ac133 Slightly increase the maximum image sizes that we'll cache
The current value originated in PR 2317, and in the decade that have passed the amount of RAM available in (most) devices should have increased a fair bit.
Nowadays we also do a much better job of detecting repeated images at both the page- and document-level, which helps reduce overall memory-usage in many documents.

Finally the constant is also moved into the `src/shared/util.js` file, since it was implicitly used on both the main- and worker-thread previously.
2023-03-08 17:06:10 +01:00
..
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
cffStandardStrings.js Fix errors reported by the comma-spacing ESLint rule 2016-12-12 20:35:53 +01:00
compatibility.js Polyfill Path2D in Node.js environments 2023-01-28 18:28:22 +01:00
fonts_utils.js Remove the isNum helper function 2022-02-22 11:55:34 +01:00
image_utils.js [api-minor] Generate images in the worker instead of the main thread. 2023-03-01 17:40:12 +01:00
is_node.js Use Path2D, if available, when rendering Type3-fonts (bug 810214) 2022-05-01 13:56:35 +02:00
message_handler.js Simplify the wrapReason helper function 2022-02-25 18:31:12 +01:00
murmurhash3.js Remove a couple of unnecessary temporary variables in MurmurHash3_64.hexdigest 2022-11-10 18:27:26 +01:00
scripting_utils.js Fix a bug in the ColorConverters.CMYK_HTML method (PR 12631 follow-up) 2022-06-09 10:03:36 +02:00
util.js Slightly increase the maximum image sizes that we'll cache 2023-03-08 17:06:10 +01:00