Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how to explore a data dump? #84

Open
madig opened this issue Dec 28, 2022 · 1 comment
Open

Question: how to explore a data dump? #84

madig opened this issue Dec 28, 2022 · 1 comment

Comments

@madig
Copy link

madig commented Dec 28, 2022

Apologies if this is the wrong venue for questions, but:

I recently changed my read-XML-and-dump-postcard code to use quick-xml's serde integration instead of reading XML manually, using the usual serde annotations on my structs here and there instead of FromStr. The postcard dump is now 1MB larger and I don't understand why. Is there some tooling to help me understand where that MB is coming from?

@jamesmunns
Copy link
Owner

Hey! I don't necessarily have an off-the-shelf tool for you, but it might be worth looking at the two experimental features, which can get you a Schema and MAX_SIZE for a given type. This might aid in your diff.

If that doesn't work, and you can give me a smaller repro case (with types used and before/after data), I can take a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants