Skip to content

Song metadata refactor#272

Draft
shadowflower64 wants to merge 3 commits into
YARC-Official:masterfrom
shadowflower64:song-metadata-refactor
Draft

Song metadata refactor#272
shadowflower64 wants to merge 3 commits into
YARC-Official:masterfrom
shadowflower64:song-metadata-refactor

Conversation

@shadowflower64

Copy link
Copy Markdown
Contributor

This is a refactor of the SongMetadata FillFromIni function, it replaces the repeated function calls with one generic function. This improves the readability and maintainability of the FillFromIni function.

@TheNathannator has noted that this change may affect performance negatively, so this PR needs to be tested in terms of performance before being accepted into the main repo. These functions use the [MethodImpl(MethodImplOptions.AggressiveInlining)] attribute which should theoretically make the methods inlined, but still it needs to be tested.

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.

1 participant