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

Draft: Improve DekuUpdate #415

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Draft: Improve DekuUpdate #415

wants to merge 1 commit into from

Conversation

wcampbell0x2a
Copy link
Collaborator

@wcampbell0x2a wcampbell0x2a commented Jan 24, 2024

  • Allow DekuUpdate::update to have ctx
  • Add call_update, to call update() on self.
  • Add update_custom to call custom function

This is more a bike-shed on what these attributes should be named, and initial impl.

See #409, #369

- Allow DekuUpdate::update to have ctx
- Add call_update, to call `update()` on self.
- Add update_custom to call custom function
Copy link

Benchmark for e64a9e4

Click to view benchmark
Test Base PR %
deku_read_bits 1182.9±16.00ns 1265.0±14.41ns +6.94%
deku_read_byte 20.2±0.11ns 20.2±0.29ns 0.00%
deku_read_enum 9.4±0.04ns 9.3±0.11ns -1.06%
deku_read_vec 53.9±0.59ns 53.2±0.67ns -1.30%
deku_write_bits 110.1±2.30ns 109.7±0.97ns -0.36%
deku_write_byte 129.5±3.29ns 124.4±3.86ns -3.94%
deku_write_enum 97.9±2.74ns 90.7±4.39ns -7.35%
deku_write_vec 3.1±0.04µs 3.1±0.05µs 0.00%

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.

None yet

1 participant