Ayush Garg

Search

SearchSearch

Recently Updated

  • Cosine Decay

    Mar 15, 2026

    • Stage-Aware Reward Modeling

      Mar 15, 2026

      • RA-BC Weights

        Mar 15, 2026

        • Flow Matching

          Mar 14, 2026

          Home

          ❯

          List 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