[MECpp]Item-18 Amortize the Cost of Expected Computations
· ☕ 3 min read
The old Computer Science story: trade space for time1.
[MECpp]Item-17 Consider Using Lazy Evaluation
· ☕ 4 min read
[MECpp]Item-16 Remember 80-20 Rule
· ☕ 1 min read
The 80-20 rule states that 80 percent of a program’s resources are used by about 20 percent of the code.
[MECpp]Item-15 Understand the Costs of Exception Handling
· ☕ 2 min read
Exception handling has costs, and we pay at least some of them even if we never use the keywords try
, throw
, or catch
.