The ClassEnum class currently uses reflections for many of its methods. Although this is convenient, it causes many slowdowns across the program (seen from running tests).
An option would be to create a static cache to store all the information, but this may cause inconsistencies and problems for Bukkit when reloading.
The ClassEnum class currently uses reflections for many of its methods. Although this is convenient, it causes many slowdowns across the program (seen from running tests). An option would be to create a
static
cache to store all the information, but this may cause inconsistencies and problems for Bukkit when reloading.