Session

Fun with Memos

When was the last time you had to "memoize" something? Whether you are cracking your head studying for the next coding interview, or are trying to squeeze that last drop of performance from your APIs, memoization is an important performance optimization tool for trading off space for speed.

Go makes it really easy to memoize things using the built-in map data structure and it became even more powerful with the adoption of generics.

In this talk we are going to explore:

- The map built-in
- What is memoization?
- What can be memoized?
- Differences between Pure and deterministic functions, side effects and side inputs
- How to implement a generic "memoizer"
- Concurrency considerations using memos

Daniela Petruzalek

Executive Director at JPMC | Google Developer Expert

London, United Kingdom

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top