O'Reilly logo

API Design for C++ by Martin Reddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7

Performance

Publisher Summary

This chapter focuses on how certain API design decisions can impact performance, and therefore how one can optimize the performance of the interface. It also describes that some APIs are performance critical and must be called many times per second, whereas other APIs are used infrequently and their speed is of less concern. The implementation of API design may not need to be high performance, but the interface should still be as optimal as possible so that it is not actively undermining performance. Good designs normally correspond with good performance. The API should continue to provide a clean and logical representation of the problem domain even after optimizing its implementation. There are several ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required