Closed
Description
Describe the bug
This discussion on Discord made us realize that trying to remove an element from an each block containing images with large base64 encoded images takes a long time.
This is because the src_url_equal
check in the generated code is slow for these types of images.
if (dirty & /*images*/ 1 && !src_url_equal(img.src, img_src_value = /*image*/ ctx[3].src)) {
attr(img, "src", img_src_value);
}
svelte/src/runtime/internal/utils.ts
Lines 45 to 53 in 4b84c4d
Reproduction
Logs
No response
System Info
REPL, v3.55.0
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels