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
In the current implementation of priority queue, the way to get the array index of a data is to traverse the whole array until a match is found, this could be significantly sped up if there is a hash_table in the struct priority to map the data directly to its corresponding index.
The text was updated successfully, but these errors were encountered:
I agree with you. Just a note, if #4056 wants to have a priority-based temp file replication, for example, files with less replicas are prioritized to replicate, then this might be needed :)
In the current implementation of priority queue, the way to get the array index of a data is to traverse the whole array until a match is found, this could be significantly sped up if there is a
hash_table
in thestruct priority
to map the data directly to its corresponding index.The text was updated successfully, but these errors were encountered: