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

Minor simplifications for the IO code #1885

Merged
merged 1 commit into from May 25, 2021
Merged

Conversation

dopplershift
Copy link
Member

Description Of Changes

It turns out that += for bytearray is implemented efficiently (unlike strings)--originally this was even faster than extend() (See this video. Also update one last use of Struct() to unpack a single integer.

I was kinda hoping this might get some minor performance gain, but alas, no such luck. The code is still better this way, though.

It turns out that += for bytearray is implemented efficiently (unlike
strings)--originally this was even faster than extend(). Also update one
last use of Struct() to unpack a single integer.
@dopplershift dopplershift added Area: IO Pertains to reading data Type: Maintenance Updates and clean ups (but not wrong) labels May 25, 2021
@dcamron dcamron merged commit de4eaef into Unidata:main May 25, 2021
@github-actions github-actions bot added this to the 1.1.0 milestone May 25, 2021
@dopplershift dopplershift deleted the io-simplify branch May 25, 2021 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: IO Pertains to reading data Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants