bytecodealliance/StarlingMonkey

Optimize computing encoded `FormData` length

Offen

#211 geöffnet am 14.02.2025

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C (53 Forks)github user discovery
good first issue

Repository-Metriken

Stars
 (271 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 28T 18h) (4 gemergte PRs in 30 T)

Beschreibung

As discussed here: https://github.com/bytecodealliance/StarlingMonkey/pull/200#discussion_r1952578511: It’s unfortunate that we’re only performing encoding to calculate the length of the encoded stream, after which the result is discarded. One possible solution would be to store the encoded output when constructing the FormData.

Contributor Guide