O'Reilly logo
  • Chris Kang thinks this is interesting:

Don’t warp your API to achieve high performance.


Cover of API Design for C++


By wrapping, you're providing client with a new higher order API that calls many other API (i.e. one client call translates into many internal calls so that the client doesn't have to make all the detailed calls). This is not recommended. Each API should operate at peak performance. Having a wrapper API is not the best way to improve performance.