bancho.py icon indicating copy to clipboard operation
bancho.py copied to clipboard

Replace usage of Enum classes with built-ins where possible

Open cmyui opened this issue 3 years ago • 0 comments

These are generally slow - mostly referencing IntEnum and IntFlag operations which can be orders of magnitude slower than their built-in counterparts.

They have their use cases - but I overused them when creating bancho.py due to a lack of understanding.

cmyui avatar Jul 24 '22 08:07 cmyui