Ayush Garg

Search

SearchSearch

Recently Updated

  • Exponential Moving Average

    Jul 30, 2026

    • Revisiting Feature Prediction for Learning Visual Representations from Video

      Jul 30, 2026

      • #research-paper
    • Stop Gradient

      Jul 30, 2026

      • Clash Royale Agent

        Jul 22, 2026

        Home

        ❯

        Index of Notes

        ❯

        C++ Optimizations

        C++ Optimizations

        Oct 27, 2025, 1 min read

        Video Link: https://youtu.be/hp4Nlf8IRgs?si=-em6S7XQZkgdqGgY

        GZip §

        GZip is an algorithm that can help you reduce the size of the payload

        smaller payload = faster

        Flame Graph §

        Run your program on FlameGraph to be able to tell what’s on your stack and what’s taking the CPU the most time to execute

        https://github.com/brendangregg/FlameGraph

        Batching §

        If there’s a lot of the same operations that need to be done, try doing it all at once and storing them, it’s a lot faster

        Graph View

        • GZip
        • Flame Graph
        • Batching

        Backlinks

        • No backlinks found

        Created by Ayush Garg using Quartz , © 2026

        • GitHub
        • Linkedin
        • Blog
        • Twitter