bytecodealliance/StarlingMonkey
Optimize computing encoded `FormData` length
Ouverte
#211 ouverte le 14 févr. 2025
good first issue
Métriques du dépôt
- Stars
- (271 étoiles)
- Métriques de merge PR
- (Merge moyen 28j 18h) (4 PRs mergées en 30 j)
Description
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.