Skip to content

Generalise EtherCrabWireWrite from [u8; N] to [T; N]#360

Open
jamwaffles wants to merge 3 commits into
mainfrom
wire-write-for-arrays
Open

Generalise EtherCrabWireWrite from [u8; N] to [T; N]#360
jamwaffles wants to merge 3 commits into
mainfrom
wire-write-for-arrays

Conversation

@jamwaffles

Copy link
Copy Markdown
Collaborator

Closes #348

@jamwaffles
jamwaffles force-pushed the wire-write-for-arrays branch 2 times, most recently from 756f3d2 to a4f57e3 Compare March 15, 2026 22:23
@jamwaffles
jamwaffles force-pushed the wire-write-for-arrays branch from a4f57e3 to 1f66f9d Compare May 14, 2026 00:20
@jamwaffles
jamwaffles enabled auto-merge (squash) May 14, 2026 00:20
This became ambiguous because the impl went from `[u8; N]` only, to `[T;
N]`. This meant Rust now defaults the item to `i32`, which was causing
buffer overruns in this test.
This doesn't cause any perf degredation, at least with the benchmarks in
this repo. They don't really focus on ser/de performance, however, so
might not be the best markers.
@jamwaffles
jamwaffles force-pushed the wire-write-for-arrays branch from 1f66f9d to 3abbf95 Compare May 14, 2026 00:21
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.

Support nested array

1 participant