Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
T.P.Class: shortcut for base64 data URIs in
downloadOrRead
.
This avoids calling the slow URI parser from network-uri on data URIs, instead calling our own parser. Benchmarks on an html -> docx conversion with large base64 image: GCs from 7942 to 6695, memory in use from 3781M to 2351M, GC time from 7.5 to 5.6. See #10075.
- Loading branch information