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

Use a memoryview when processing bytes in the frame helper #611

Closed
wants to merge 4 commits into from

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Nov 2, 2023

This should avoid all the pyint conversions when splicing up the headers

Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #611 (35a13c0) into main (94157a8) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 35a13c0 differs from pull request most recent head 3482f3a. Consider uploading reports for the commit 3482f3a to get more accurate results

@@           Coverage Diff           @@
##             main     #611   +/-   ##
=======================================
  Coverage   77.87%   77.88%           
=======================================
  Files          14       14           
  Lines        2490     2491    +1     
=======================================
+ Hits         1939     1940    +1     
  Misses        551      551           

see 2 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@bdraco
Copy link
Member Author

bdraco commented Nov 2, 2023

Won't work because we need a writable buffer .. which would be more expensive to create

@bdraco bdraco closed this Nov 2, 2023
@bdraco bdraco reopened this Nov 4, 2023
@bdraco
Copy link
Member Author

bdraco commented Nov 4, 2023

@bdraco
Copy link
Member Author

bdraco commented Nov 4, 2023

We still have to end up converting back to bytes so it doesn't really help

@bdraco bdraco closed this Nov 4, 2023
@bdraco bdraco reopened this Nov 9, 2023
@bdraco bdraco closed this Nov 9, 2023
@bdraco bdraco deleted the memoryview_bytes branch November 24, 2023 15:02
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.

1 participant