Tag view

#optimization

Cross-subject tag search for related interview cards.

Clear

Results update as you type. Press / to jump straight into search.

Tagged with optimization

3 cards

React Hard Theory

React performance: slow apps, unnecessary re-renders, React.memo, PureComponent, code splitting, lazy loading, Suspense, virtualization, profiling, and bundle size

React apps become slow when they re-render too much, do expensive work in render, or ship more code and DOM than needed.

  • Measure before optimizing
  • Code splitting and virtualization reduce big costs
  • Memoization helps only when it prevents meaningful work

React performance: slow apps, unnecessary re-renders, React.memo, PureComponent, code splitting, lazy loading, Suspense, virtualization, profiling, and bundle size

Machine Learning Medium Theory

What is gradient descent?

Gradient descent updates model parameters in the direction that reduces the loss function.

  • Uses gradients of loss
  • Step size is learning rate
  • Variants include batch and mini-batch

What is gradient descent?