I'm writing a protobuf serializer 
Here's some ideas for writing to a buffer that I have come up with:
https://github.com/js-benchmark-all/micro/blob/main/src/binary/serialize.case.ts

And benchmark results of each idea:
https://github.com/js-benchmark-all/micro/blob/main/results/binary/serialize.v8.txt

Is it possible to speed up any of the 1 pass ideas, for example by making 
Uint8Array.from() not copy the data from the built array?

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/v8-dev/73450b56-3958-49ca-a562-982ffabce865n%40googlegroups.com.

Reply via email to