20% cheaper find-first-set bit using a new de Bruijn-like sequence
![](/assets/read_by_writing/wall_midjourney_2.webp)
You can count the trailing zeroes of a word with surprisingly few opcodes
You can count the trailing zeroes of a word with surprisingly few opcodes
Because the warm/cold state of storage slots lasts only a single transaction, that state can be used as a scratchpad to implement transient storage.