Today I Learned - Rocky Kev

Tagged “memory”

  1. TIL the stack and heap

    The stack is a data structure that JavaScript uses to store static data. The Heap is Dynamic memory allocation, storing objects and functions. Garbage Collection.

  2. TIL what matters for JS optimization

    Optimizing your Javascript - Using getElementById() vs querySelector()? Doesn't matter. Loops? Doesn't matter. What matters: Render Blocking code, Repaints and Reflows, Memory allocation

  3. TIL about what causes Memory leaks in Javascript

    As long as it is possible to reach it, keep it. Everything else gets yeeted.

See all tags.