(Translated by https://www.hiragana.jp/)
Fix pad_* attributes in no_std by wcampbell0x2a · Pull Request #478 · sharksforarms/deku · GitHub
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

Fix pad_* attributes in no_std #478

Merged
merged 1 commit into from
Sep 8, 2024
Merged

Conversation

wcampbell0x2a
Copy link
Collaborator

  • Fix cannot find macro vec in this scope when using no_std

Sorry, didn't find this until updating my adsb crate

* Fix cannot find macro vec in this scope when using no_std
Copy link

github-actions bot commented Sep 7, 2024

Benchmark for d4c0e67

Click to view benchmark
Test Base PR %
count 5.0±0.01µs 5.0±0.05µs 0.00%
deku_read_bits 1159.2±19.49ns 1188.8±48.33ns +2.55%
deku_read_byte 5.2±0.08ns 5.9±0.11ns +13.46%
deku_read_enum 4.4±0.06ns 4.7±0.05ns +6.82%
deku_read_vec 42.2±0.28ns 42.5±0.22ns +0.71%
deku_write_bits 192.5±4.05ns 194.7±6.26ns +1.14%
deku_write_byte 24.9±0.35ns 24.9±0.66ns 0.00%
deku_write_enum 23.0±0.45ns 23.0±0.40ns 0.00%
deku_write_vec 416.9±13.66ns 413.3±3.64ns -0.86%
read_all 5.6±0.02µs 3.7±0.05µs -33.93%
read_all_bytes 5.6±0.02µs 3.8±0.07µs -32.14%

@sharksforarms sharksforarms merged commit 0acc87a into master Sep 8, 2024
15 checks passed
@sharksforarms sharksforarms deleted the fix-pad-bytes-no-std branch September 8, 2024 04:33
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.

2 participants