Removing ConcurrentCache #1

3 years ago

Avatar of xTrollxDudex
xTrollxDudex, Admin
Offline

Due to our usage of Java 7 in the beginnings of the TridentSDK project, we did not have tools accessed by the switch to Java 8. In doing so, we have unlocked a wealth of new libraries and methods to assist with the development of TridentSDK, and in particular, cache like methods such as compute, computeIfAbsent, computeIfPresent, etc...

These are simply far better implemented, most likely intrinsic and available to optimisation based on the system, and are part of the library now, making the ConcurrentCache which was meant to be a solution to backwards compatibility, now obsolete.

This class will be removed in the following updates and replaced with the proper calls to ConcurrentHashMap instead.

Thank you again for the continued support of our project.

0

Removing ConcurrentCache #2

3 years ago

Avatar of xTrollxDudex
xTrollxDudex, Admin
Offline

Ratified in both repositories.

https://github.com/TridentSDK/Trident/commit/ec15a1458a373ba3a88998bec11b877eb50f7d30

https://github.com/TridentSDK/TridentSDK/commit/eff6adc4ac2f9fc4b07f707f45fa8a9d4874a07d

 

Will leave this thread open for further comment.

Last edit by xTrollxDudex, 3 years ago
0
Copyright © 2018 TridentSDK
Made by Vilsol