forked from YARC-Official/YARG
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SongCategory Enhancements And Refactorings To Static Functions (YARC-…
…Official#89) * Remove InstrumentCategory multithreading variable + Defaults to Parallel.ForEach * Hold instrument string in InstrumentComparer * Remove SongCategory GetEnumerator() + Swap _elements to protected * CacheHandler SortCategories() dedupe * Redo Instrument Category to not be a subtype of SongCategory Alters SongCache to directly hold the dictionaries of elements sorted by instrument. + Requires main repo update * Refactor main SongCategory types into static functions Uses an interface pattern to create a generic static class that takes the dictionary as a parameter instead of storing one. Allows explicitly limiting configurations of certain attributes without relying on a Debug.Assert. + Requires main repo update. * Capitalize SongCache variables * Use for loop vs explicit InstrumentCategory[] generation
- Loading branch information
Showing
5 changed files
with
187 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.