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 ...
Get API Design for C++ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.