Questions

  1. How can we measure the performance of a small fragment of code?
  2. Why are small and frequent memory allocations particularly bad for performance?
  3. What is local buffer optimization, and how does it work?
  4. Why is an allocation of an additional buffer inside an object effectively free?
  5. What is short string optimization?
  6. What is small vector optimization?
  7. Why is local buffer optimization particularly effective for callable objects?
  8. What are the trade-offs to consider when using local buffer optimization?
  9. When should an object not be placed in a local buffer?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.246.159