You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uselessgoddess
changed the title
I suggest simplifying the logic of Each/Count from StorageBase
Simplifying logic of Each/Count initiative
Jul 28, 2022
uselessgoddess
changed the title
Simplifying logic of Each/Count initiative
Initiative of simplifying logic of Each/Count
Jul 28, 2022
I like the idea of simplification of logic to use only query.Len == 3 this will lead to smaller code and should make it even faster. This also removes the confusion about API, because Len == 1 or Len == 2 is closer to undefined behavior. We can try to make a benchmark of memory regular memory manager and simplified one to check how much performance gain we will get.
In current implementation:
I suggest impl
CountBase
only for query of link size:Also, i recommend add more complex logic for
CountBase([Value, Value])
. Anything that is more complicated thanif
or completely reject it queryThe text was updated successfully, but these errors were encountered: