moot✳
A little more connected.
Join Moot

turns out you need to read the code

Jarred Sumner@jarredsumner

some things I often say to claude when doing perf optimization work:

how do we rewrite this to better leverage data-oriented design principles

can you replace those hash tables with a flat array? can we make the pointers an index into the array? can we pack the most commonly used data into upper bits of the index?

caching is cope for a slow design. do not add caches and delete all existing caches. instead, redesign it to be faster

should this be a structure of arrays instead of an array of structures?

View on X
#programming#software engineering#source code#developer advice
1
1 comments
1 comments

at this level in the stack absofuckinglutely