Skip to content

Let Serde readers reuse a parsed tape - #495

Merged
Licenser merged 1 commit into
simd-lite:mainfrom
symbiogenesis:main
Oct 27, 2026
Merged

Licenser merged 1 commit into
simd-lite:mainfrom
symbiogenesis:main

Conversation

@symbiogenesis

Copy link
Copy Markdown
Contributor

Fixes #494.

Lets typed Serde readers keep and reuse the tape after success or a field error. Adds a padded-input example and focused tests for borrowed strings, strict fields and allocation reuse.

Checked: three focused tests, the new example with default/no-default features, and formatting. Nightly Clippy stops on an existing NEON used_underscore_items error.

Fixes simd-lite#494. Add the missing from_tape constructor, document padded typed parsing, and cover borrowing, strict fields and allocation recovery.

@Licenser Licenser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, thank you!

@Licenser
Licenser enabled auto-merge (squash) October 27, 2026 21:54
@Licenser
Licenser merged commit 77ec801 into simd-lite:main Oct 27, 2026
29 checks passed
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

Successfully merging this pull request may close these issues.

Allow Serde callers to reuse a parsed tape

2 participants