Note: "Forked" from Latency Numbers Every Programmer Should Know
| Event | Nanoseconds | Microseconds | Milliseconds | Comparison |
|---|---|---|---|---|
| L1 cache reference | 0.5 | - | - | - |
| Branch mispredict | 5.0 | - | - | - |
| L2 cache reference | 7.0 | - | - | 14x L1 cache |
| Mutex lock/unlock | 25.0 | - | - | - |
| ## Workflow Orchestration | |
| ### 1. Plan Mode Default | |
| * Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions) | |
| * If something goes sideways, STOP and re-plan immediately – don't keep pushing | |
| * Use plan mode for verification steps, not just building | |
| * Write detailed specs upfront to reduce ambiguity | |
| ### 2. Subagent Strategy |
| import { | |
| ActivityIndicator, | |
| Button, | |
| ScrollView, | |
| Text, | |
| View, | |
| } from "react-native"; | |
| import * as AuthSession from "expo-auth-session"; | |
| import * as WebBrowser from "expo-web-browser"; | |
| import { useEffect, useState } from "react"; |
| { | |
| "hotel_id": 1, | |
| "chain_id": 421, | |
| "chain_name": "Samed Resorts Group", | |
| "brand_id": 0, | |
| "brand_name": "", | |
| "hotel_name": "Sai Kaew Beach Resort", | |
| "hotel_formerly_name": "", | |
| "hotel_translated_name": "Sai Kaew Beach Resort", | |
| "addressline1": "8/1 Moo 4 Tumbon Phe Muang", |
Note: "Forked" from Latency Numbers Every Programmer Should Know
| Event | Nanoseconds | Microseconds | Milliseconds | Comparison |
|---|---|---|---|---|
| L1 cache reference | 0.5 | - | - | - |
| Branch mispredict | 5.0 | - | - | - |
| L2 cache reference | 7.0 | - | - | 14x L1 cache |
| Mutex lock/unlock | 25.0 | - | - | - |