Closed marc-mabe closed 5 years ago
I don't like this idea. The performance difference is only marginal. I'm okay with removing for private methods, but not for the public API.
Yes I didn't decide yet - just want to see the difference. I'll also make a bench with only internal methods (private and final) only for comparison
updated to remove type-hints (except void) for private and final methods only. I have updated the PR description and bench -> the bench result looks still very close the the previous result.
Removed type-hints (except void) for private and final methods as this gives a small performance boost and this lib has enough tests to make sure it's working as expected.
Benchmark result: