Skip to content

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

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

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

Conversation

@jamwaffles
Copy link
Copy Markdown
Collaborator

Closes #348

@jamwaffles jamwaffles force-pushed the wire-write-for-arrays branch from 435304c to 756f3d2 Compare March 15, 2026 01:05
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 756f3d2 to a4f57e3 Compare March 15, 2026 22:23
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