Tip 5: Async libraries APIs should be chunky

Download this episode

Download Video

Download captions

Download Captions

Description

5. Libraries should have chunky async APIs.

But if you can't achieve that, there's a micro-optimization you can use for async methods based around the fast-path which can reduce or eliminate the heap overhead of async methods. As always, don't micro-optimize prematurely...

Slides, source code and transcript for this video are available here.

Generic Episode Image

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.