ObservatoryCore icon indicating copy to clipboard operation
ObservatoryCore copied to clipboard

perf: [Core, Framework] Reduce usage of Enum.HasFlag

Open fredjk-gh opened this issue 6 months ago • 0 comments

According to the profiler, this does wasteful allocations, etc. It is recommended to use the bitwise operator. I did some profiling to figure out why a couple of my plugins were slow during read-all, and this came up.

If you like it, accept it. If not, fine too.

fredjk-gh avatar Aug 09 '24 04:08 fredjk-gh