All ideasMore in Work

The AI found one slow call eating 81 percent of his emulator's frame time

Working with AI on his NeoBox emulator, he found setjmp was eating 81 percent of frame time, switched to _setjmp for a roughly 130x per-call gain, and the fix was merged upstream in Geolith.

How it works

  1. Working with AI on his emulator
  2. They find one system call eating 81 percent of frame time
  3. Switch to a cheaper variant for a roughly 130x per-call gain
  4. The fix is merged upstream

Why it’s worth knowing

One call was nearly the whole cost of every frame.

Where it’s from

Summarized from a public post on news.ycombinator.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.