Tagged articles

inlining

3 articles · Page 1 of 1
Golang Shines
Golang Shines
Jul 1, 2026 · Fundamentals

Go Compile‑Time Constant Folding: An Investigation

The article examines how Go’s compiler handles constant folding, using the vtprotobuf SizeVT function to illustrate compile‑time size calculations, and explains that inlining feasibility and compile‑time known arguments are key factors that determine whether expressions are folded into constants.

Gocompile-time evaluationcompiler
0 likes · 5 min read
Go Compile‑Time Constant Folding: An Investigation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 28, 2022 · Mobile Development

Inlining R Files for Android Package Size Optimization

This article explains how Android developers can reduce APK size by inlining R files, detailing the generation of R.java and R.txt, the causes of oversized R files, and step‑by‑step bytecode transformation techniques using ASM to replace resource ID lookups with constant values.

Package Sizeinliningproguard
0 likes · 11 min read
Inlining R Files for Android Package Size Optimization
Beike Product & Technology
Beike Product & Technology
Nov 9, 2018 · Backend Development

Why Go Is Fast: 5 Key Language Features Explained

This article translates David Cheney's 2014 Gocon talk, detailing five Go language features—efficient value handling, inlining, escape analysis, goroutine scheduling, and dynamic stack management—that together explain Go's performance advantages, memory usage, and concurrency model.

Escape AnalysisGoGoroutine
0 likes · 15 min read
Why Go Is Fast: 5 Key Language Features Explained