<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Andrey Minogin on foojay.io - Friends Of OpenJDK</title><link>https://foojay.io/today/author/andrey-minogin/</link><description>Articles written by Andrey Minogin on foojay.io - Friends Of OpenJDK</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 02 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://foojay.io/today/author/andrey-minogin/index.xml" rel="self" type="application/rss+xml"/><item><title>Optimizing nanosecond operations: when the CPU cache matters</title><link>https://foojay.io/today/optimizing-nanosecond-operations-when-the-cpu-cache-matters/</link><pubDate>Mon, 02 Nov 2026 00:00:00 +0000</pubDate><guid>https://foojay.io/today/optimizing-nanosecond-operations-when-the-cpu-cache-matters/</guid><description>&lt;p&gt;A profiler tells you where the time goes. It&amp;rsquo;s tempting to read that as a promise: remove the 29 seconds it points at, and you get 29 seconds back. This article is about a case where that promise didn&amp;rsquo;t hold. The check we removed really was expensive, but part of its cost silently moved to a line of code we never touched.&lt;/p&gt;&#10;&lt;p&gt;The setting is a hot loop in which a single operation takes about 200 nanoseconds. At that scale the CPU cache stops being a detail and starts deciding what your code costs, and one operation can pay a bill that another one runs up.&lt;/p&gt;</description></item></channel></rss>