BlueHuskyStudios / BlueHuskyStudios/DeadassSimpleMediaPlayer

`ArtworkThumbnailCache` • Using `MediaReference` as a lookup key hashes kilobytes per lookup

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
0
Forks
3
Avg merge
2d 22h
Merged PRs (30d)
9

Description

Low priority because no production problems with this have been found; just a hypothetical guess for now.
Fix should be a straightforward custom hashing function.

Contributor guide

Open the contributing guide

Research direction

Start by locating ArtworkThumbnailCache and MediaReference, then inspect how MediaReference is used as the lookup key. Measure or reproduce the hashing cost before changing anything; done means the cache lookup no longer hashes kilobytes per lookup without changing its behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.