StarlingMonkey icon indicating copy to clipboard operation
StarlingMonkey copied to clipboard

Optimize computing encoded `FormData` length

Open andreiltd opened this issue 1 year ago • 1 comments

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.

andreiltd avatar Feb 14 '25 13:02 andreiltd

@guybedford @tschneidereit maybe we can label this as a good first issue?

andreiltd avatar Feb 17 '25 11:02 andreiltd