Claude profiles a simulation build: 1.5 of 2.2s comes from one pure-Python Newton function

andrew_n_carr · x · 2026-10-22

Andrew Carr shares how Claude profiled a model build: 1.5s of the 2.2s build time came from the pure-Python Newton function buildedgenringedgecollisionfilter, which walks each edge's neighborhood. Claude is now writing a vectorized drop-in replacement, doing what Carr says was 90% of his grad school work.

Original post →

More from coding & agent

coding & agent channel →