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
Issue-Label Bot is automatically applying the label type/feature to this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!
Is your feature request related to a problem? Please describe.:
The current implementation uses
sync.Mutex
andmap
to cache objects.Removing the lock logic will improve performance.
Describe the solution you'd like:
Since locks and unlocks occur frequently, replacing them with
sync.Map
can be made lock-free, which is considered to speed up the process.Describe alternatives you've considered:
Change from
sync.Mutex
andmap
tosync.Map
to cache object.The text was updated successfully, but these errors were encountered: