3 ms·
The winning play here is to represent the node structure directly in rust, such that serialisation is a no-op. Which is admittedly tough to implement.
by JonChesterfield 4y ago
The winning play here is to represent the node structure directly in rust, such that serialisation is a no-op. Which is admittedly tough to implement.
- rafram 4y agoStill comes with the same issues. JS code will need access to the node structure, too, which means serializing it on the Rust side.
- JonChesterfield 4y agoI mean have the same in memory representation in both languages such that no serialisation or deserialisation happens in either direction across the boundary. Fast but difficult to implement.