Skip to content

Instantly share code, notes, and snippets.

View bnomei's full-sized avatar
🦀

Bruno Meilick bnomei

🦀
View GitHub Profile

PR #15741 Hot Path Summary

This note summarizes the "hotpath" discussed in netty/netty#15741, based on the PR discussion plus Frigg inspection of the merged code in this checkout.

Merged commit in this tree: accd981104dfe23dbe6208a16d197b7b3f5b8c94

What "hotpath" Means Here

The PR discussion points to the adaptive allocator's thread-local direct-allocation fast path, not a general allocator slow path.

@bnomei
bnomei / microgpt.py
Created March 21, 2026 23:25 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp