Skip to content

fix: Use classes instead of factory functions for stores - #18

Merged
aklinker1 merged 1 commit into
mainfrom
store-classes
Oct 2, 2026
Merged

aklinker1 merged 1 commit into
mainfrom
store-classes

Conversation

@aklinker1

@aklinker1 aklinker1 commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Performance should be the same, just a few fewer lines since the type is apart of the class now.

Creating class instances is faster than creating objects via {}, which is important if we're constructing these objects every request. But of couse, it's ns, so it's not really that big of a deal.

@aklinker1 aklinker1 self-assigned this Oct 2, 2026
@aklinker1
aklinker1 marked this pull request as ready for review October 2, 2026 13:48
@aklinker1
aklinker1 merged commit ab8fe76 into main Oct 2, 2026
2 checks passed
@aklinker1
aklinker1 deleted the store-classes branch October 2, 2026 13:48
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