vivekjustthink / WeakConcurrentHashMap

Contains WeakConcurrentHashMap Java Implementation
18 stars 7 forks source link

Performances #1

Open 360matt opened 3 years ago

360matt commented 3 years ago

Hey, I have some suggestions for better performance.

😉

360matt commented 3 years ago

And when you set mapAlive to false, I advise you to keep running the thread to remove the data that is still cached (or clear everything when mapAlive is false, or, alternatively, if mapAlive is false and clear() is called: automatically stop the thread because there is no more value to clean up).

vivekjustthink commented 3 years ago

Thanks for your suggestions, will look into it.

On Fri, Mar 5, 2021 at 8:17 PM 360matt @.***> wrote:

And when you set mapAlive to false, I advise you to keep running the thread to remove the data that is still cached (or clear everything when mapAlive is false, or, alternatively, if mapAlive is false and clear() is called: automatically stop the thread because there is no more value to clean up).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vivekjustthink/WeakConcurrentHashMap/issues/1#issuecomment-791464426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSINJJEJVPBI73BR2WJUL3TCDVGTANCNFSM4YVKUN4A .

-- With Regards

    Vivekananthan

Mobile : +919095539096 Twitter : vivekjustthink Skype : vivekjustthink