bytecodealliance/StarlingMonkey

Optimize computing encoded `FormData` length

Aberta

#211 aberto em 14 de fev. de 2025

 (1 comentário) (0 reação) (0 responsável)C (53 forks)github user discovery
good first issue

Métricas do repositório

Stars
 (271 estrelas)
Métricas de merge de PR
 (Mesclagem média 28d 18h) (4 fundiu PRs em 30d)

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.

Guia do colaborador