mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-25 21:05:47 +03:00
[PR #122] [MERGED] feat: don't seek when it's not needed #221
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/devgianlu/go-librespot/pull/122
Author: @aykevl
Created: 10/7/2024
Status: ✅ Merged
Merged: 10/12/2024
Merged by: @devgianlu
Base:
master← Head:feat-seek-if-needed📝 Commits (1)
2addf8afeat: don't seek when it's not needed📊 Changes
1 file changed (+5 additions, -2 deletions)
View changed files
📝
player/player.go(+5 -2)📄 Description
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 issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.