~/talk

You need to know Algorithms and Data Structures in Front-end, anyway

TalkinRussianat JS Fest 2019 Autumn · 2019-11-08..11-09· [frontend-architecture, javascript]
name:Adam Leos
linkedin:adam-leos
slides:none on file

Concrete examples show how small algorithm and data-structure changes in front-end code produce large wins: replacing nested loops with a lookup to get a 100× speedup, using objects/Maps as dictionaries to eliminate inner scans, and avoiding repeated map/filter chains to cut allocations (10–200%, about 30% typical). Implementations include graph/tree structures and binary/merge search in a video/TV app, with measurements demonstrating these fixes run on low-end TV hardware and deliver measurable performance and memory improvements.

AI-written summary · about

  1. 0:00Introduction
  2. 12:34Algorithm complexity
  3. 21:01Arrays and objects
  4. 33:20Linear vs binary search
  5. 38:56Bubble sort to Array.sort
  6. 40:25Q&A
~/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.