Skip to content

feat: don't seek when it's not needed#122

Merged
devgianlu merged 1 commit intodevgianlu:masterfrom
aykevl:feat-seek-if-needed
Oct 12, 2024
Merged

feat: don't seek when it's not needed#122
devgianlu merged 1 commit intodevgianlu:masterfrom
aykevl:feat-seek-if-needed

Conversation

@aykevl
Copy link
Copy Markdown
Contributor

@aykevl aykevl commented Oct 7, 2024

This seek takes around 0.5-1ms (when seeking to position 0) on a Raspberry Pi 3 which isn't much, but it's totally unnecessary in most cases so can be skipped.

This is basically the same as #116 but now as a very small performance improvement.

This seek takes around 0.5-1ms on a Raspberry Pi 3 which isn't much, but
it's totally unnecessary in most cases so can be skipped.
@devgianlu devgianlu merged commit b9788ab into devgianlu:master Oct 12, 2024
@aykevl aykevl deleted the feat-seek-if-needed branch October 15, 2024 17:46
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