You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[package]
name = "flex-buffer-testing"version = "0.1.0"edition = "2021"
[dependencies]
flexbuffers = "24.12.23"serde = { version = "1.0.216", features = ["serde_derive"] }
serde_json = "1.0.134"
Is this expected? The size and performance differences to JSON makes it seems like with serde, all benefits are being lost.
I get that you'd still likely access it with something like the direct access I had done above, but the size issue seems a bit strange to me that it's losing so much efficiency. Maybe I was expecting flatbuffers-level, not sure
The text was updated successfully, but these errors were encountered:
I modified the example at https://github.com/google/flatbuffers/blob/master/samples/sample_flexbuffers_serde.rs to the following code, and observed the following times with
cargo run --release
on an m3 max mbprustc 1.83.0 (90b35a623 2024-11-26)
:main.rs:
Cargo.toml:
Is this expected? The size and performance differences to JSON makes it seems like with serde, all benefits are being lost.
I get that you'd still likely access it with something like the direct access I had done above, but the size issue seems a bit strange to me that it's losing so much efficiency. Maybe I was expecting flatbuffers-level, not sure
The text was updated successfully, but these errors were encountered: