Closed SOF3 closed 8 years ago
Tested?
@SkygridRex The code are same, but can slightly increase performance
That statement is only true before the minor optimizations have been made...
That's exactly what @PEMapModder said...
This isn't a social place. It's GitHub, don't make it like twitter.
In Donald Knuth's paper "Structured Programming With GoTo Statements", he wrote:
Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.
@Addison118 ban me.
http://forums.pocketmine.net/threads/tips-tricks-good-bad-practices.16113/
I really love this pull request, you've been putting thoughts into it.
Well this pull request is obviously spam right?
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.