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
Ord got really slow recently, and it turned out to be due to adding a call to GIGANTIC_TABLE.len(), which looks innocent, but actually iterates over the entire table. If it isn't too hard, it might be a good idea to cache the length so it can be a constant-time operation.
The text was updated successfully, but these errors were encountered:
Ya, that seems like a good optimization to have. Unfortunately it will require a file format change. I'll add it to my list of things to look into for 2.0
Ord got really slow recently, and it turned out to be due to adding a call to
GIGANTIC_TABLE.len()
, which looks innocent, but actually iterates over the entire table. If it isn't too hard, it might be a good idea to cache the length so it can be a constant-time operation.The text was updated successfully, but these errors were encountered: