Get the latest tech news

Beyond Clean Code


Layers of Optimization

Conversely, there’s the frenzy of late-night coding that quietly ends when you reluctantly revert a change that didn’t produce a noticeable speedup, leaving you feeling defeated and empty as you push back from the laptop. Problem DomainUpdate FrequencyCycle timeLED Ceiling Tracker3000Hz300usHaptic Device1000Hz1msGraphics (Console game)60Hz16.7msGraphics (VR)120Hz8.3msResponsive Button PressOnce100msNatural language ML taskContinually10 secondsPoint cloud and spherical image processorOnce a weekDaysAgain, this is nine orders of magnitude of cycle times. Imagine the grand opening of a Las Vegas hotel with gleaming marble floors, oceans of high-tech gaming machines, and a fancy theater with an aging pop star in residence.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Clean Code

Clean Code