~/talk

The web in hyper speed: Boosting performance with memoization

Talkat Uphill Conf 2019 · 2019-05-02..05-03· [web-performance, frontend-architecture]
slides:none on file

Claim: memoization cuts repeated pure-function work dramatically — a demo goes from ~2.2ms to ~0.17ms (about 95% speedup) and a generic wrapper version runs ~0.45ms. Implements a JS cache pattern using console.time for measurement, shows examples on a discount function and Fibonacci recursion, and maps the idea to React’s useMemo hook. The thing built is a generic memoize wrapper around functions, it runs successfully and reduces redundant computation.

AI-written summary · about

  1. 0:00Start
  2. 8:39Caching results instead of calculating them every time
  3. 9:22Computation speed over memory space
  4. 25:07Key takeaways
  5. 26:38Performance is not a feature
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.