Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-24 | chore: drop src/ in bench_util & serde_v8 (#14097) | Aaron O'Mullan | |
To align with conventions used in our other crates | |||
2022-03-23 | cleanup(serde_v8): streamline magic types (#14076) | Aaron O'Mullan | |
Formalize magic types and how they're "transerialized", also makes U16String deserializable | |||
2022-03-16 | perf(web): Optimize `TextDecoder` by adding a new `U16String` type (#13923) | Andreu Botella | |
2022-03-11 | chore: update rusty_v8 to 0.41.0 (#13909) | Divy Srivastava | |
2022-03-07 | perf(serde_v8): avoid SerializablePkg allocs (#13860) | Aaron O'Mullan | |
For common return types such as String/ZeroCopyBuf/ByteString | |||
2022-03-07 | cleanup(serde_v8): SerializablePkg verbosity (#13855) | Aaron O'Mullan | |
2022-03-07 | perf(serde_v8): optimize ByteString deserialization (#13853) | Aaron O'Mullan | |
2022-01-20 | feat(serde_v8): deserialize ArrayBuffers (#13436) | Aaron O'Mullan | |
Previously we would only deserialize `ArrayBufferView`s as zero-copy bufs This avoids rewrapping `ArrayBuffers` in `ArrayBufferView`s when implementing APIs that take [BufferSource](https://webidl.spec.whatwg.org/#BufferSource) args passed through the op-layer | |||
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2022-01-07 | fix(serde_v8): support #[serde(default)] (#13300) | Aaron O'Mullan | |
2021-12-04 | chore: upgrade to Rust 1.57.0 (#12968) | Bartek Iwańczuk | |
2021-11-10 | fix: non ascii buffer response in http server (#12728) | Luca Casonato | |
2021-11-02 | chore: update to Rust edition 2021 (#12578) | Bartek Iwańczuk | |
2021-10-27 | chore: update to rusty_v8 0.33.0 (#12564) | Luca Casonato | |
2021-10-26 | perf(http): encode string bodies in op-layer (#12451) | Aaron O'Mullan | |
Using serde_v8's StringOrBuffer | |||
2021-10-20 | feat(serde_v8): allow all values to deserialize to unit type (#12504) | Aaron O'Mullan | |
2021-10-20 | feat(serde_v8): StringOrBuffer (#12503) | Aaron O'Mullan | |
2021-10-20 | chore: return serde_v8 to main repo (#12500) | Aaron O'Mullan | |
Reduces fragmentation, avoids version drift and facilitates coordinating serde_v8 and op-layer changes | |||
2021-06-09 | chore: move serde_v8 to separate repo (#10909) | Bartek Iwańczuk | |
Now available at https://github.com/denoland/serde_v8 | |||
2021-05-19 | fix(serde_v8): remove intentional deserialization error on non-utf8 strings ↵ | Aaron O'Mullan | |
(#10156) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-05-11 | feat(runtime/worker): Structured cloning worker message passing (#9323) | Tim Ramlot | |
This commit upgrade "Worker.postMessage()" implementation to use structured clone algorithm instead of non-spec compliant JSON serialization. | |||
2021-04-30 | feat(serde_v8): ZeroCopyBuf (#10432) | Aaron O'Mullan | |
Bidirectional zero-copy serialization of buffers between v8 & rust that can be nested in structs/tuples/etc. | |||
2021-04-20 | chore: update copyright headers (#10243) | Yoshiya Hinosawa | |
2021-04-19 | refactor(core): move SerializablePkg to serde_v8 (#10231) | Aaron O'Mullan | |
2021-04-18 | refactor(serde_v8): move magic code to subfolder and minor cleanup (#10230) | Aaron O'Mullan | |
2021-04-18 | lint(serde_v8): fix "inconsistent struct constructor" (#10227) | Aaron O'Mullan | |
2021-04-04 | perf(serde_v8): preallocate vector when serializing arrays (#9955) | Aaron O'Mullan | |
2021-04-04 | perf(serde_v8): drop need for EscapableHandleScope (#9990) | Aaron O'Mullan | |
This is another improvement to serde_v8's serialization code, it drops the need for creating a v8::EscapableHandleScope or "subscope". | |||
2021-04-04 | perf(serde_v8): introduce Serializable boxable object (#9983) | Aaron O'Mullan | |
2021-04-04 | perf(serde_v8): drop need for RC in serializer (#9987) | Aaron O'Mullan | |
Which substantially improves the performance of to_v8() by removing Rc's overhead (extra allocs, drops, checks, etc...) | |||
2021-04-02 | perf(serde_v8/de): implement SeqAccess size_hint (#9975) | Aaron O'Mullan | |
2021-03-31 | refactor: new optimized op-layer using serde_v8 (#9843) | Aaron O'Mullan | |
- Improves op performance. - Handle op-metadata (errors, promise IDs) explicitly in the op-layer vs per op-encoding (aka: out-of-payload). - Remove shared queue & custom "asyncHandlers", all async values are returned in batches via js_recv_cb. - The op-layer should be thought of as simple function calls with little indirection or translation besides the conceptually straightforward serde_v8 bijections. - Preserve concepts of json/bin/min as semantic groups of their inputs/outputs instead of their op-encoding strategy, preserving these groups will also facilitate partial transitions over to v8 Fast API for the "min" and "bin" groups | |||
2021-03-27 | chore: add Deno copyright headers to all rust files (#9909) | Aaron O'Mullan | |
2021-03-25 | Introduce serde_v8 (#9722) | Aaron O'Mullan | |