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
DashMap::entry tries to acquire a write lock on the underlying HashMap, waits until the lock becomes available. Since most of the time the routine above won't insert a new entry, attempting to get a write lock every time is a waste. Better to change it to a read lock for common cases.
The text was updated successfully, but these errors were encountered:
Reader::next_batch
in reader.rs has the following:DashMap::entry
tries to acquire a write lock on the underlyingHashMap
, waits until the lock becomes available. Since most of the time the routine above won't insert a new entry, attempting to get a write lock every time is a waste. Better to change it to a read lock for common cases.The text was updated successfully, but these errors were encountered: