All Questions
Tagged with stackefficiency
2 questions
0votes
2answers
201views
Should you avoid adding unecessary stack frames?
I have been working with laravel (PHP) recently, and there is an option when using their fluent ORM to define where clauses using closures. This gives us two, functionally equivalent, ways to specify ...
14votes
2answers
6kviews
Amortized Analysis? (Worst-case Performance Guarantees)
What is Amortized Analysis? And how can it help me achieve worst-case performance guarantees in my programs? I was reading that the following techniques can help the programmer achieve Worst-case ...