Use Generic instead of Trait Object
Fullstop000 opened this issue · 1 comments
Fullstop000 commented
In most instances, codes perform faster when using Generic than Trait Object.
We can replace some trait objects by Generic (not all of them) to benefit from inline function in compile time.
Fullstop000 commented
Almost refactored all the unnecessary trait objects.