GitHawk
GitHawk copied to clipboard
Store Efficiency
Our current Store protocol implementation has O(n) performance for a lot of operations, due to the use of an array instead of an ordered set. Caveat is that NSOrderedSet and its mutable cousin doesn't support Swift struct or enum objects.
We may need a custom implementation of an ordered set to accommodate for that.
FWIW I settled on mut ordered set for user sessions.
I'm more worried about our search queries
I'll pick this up over the wknd :+1: