Tagged articles
7 articles
Page 1 of 1
Data STUDIO
Data STUDIO
Mar 20, 2026 · Fundamentals

Save Up to 80% Memory in Python with 5 Built‑In Tricks

The article shows how to diagnose and dramatically cut Python’s memory usage by using built‑in tools such as sys.getsizeof, psutil, __slots__, generator expressions, memory‑mapped files (mmap) and string interning, providing concrete code examples, benchmarks and practical tips to avoid common pitfalls.

Memory OptimizationPythonString Interning
0 likes · 15 min read
Save Up to 80% Memory in Python with 5 Built‑In Tricks
Lobster Programming
Lobster Programming
Dec 20, 2024 · Fundamentals

Unlocking Java’s Constant Pools: Class, Runtime, and String Explained

This article explains Java’s constant pools, detailing the class constant pool stored in .class files, its transformation into the runtime constant pool during JVM loading, and the specialized string constant pool that optimizes memory usage, including recent changes moving it to heap memory.

Constant PoolJVMMemory Management
0 likes · 3 min read
Unlocking Java’s Constant Pools: Class, Runtime, and String Explained
Python Programming Learning Circle
Python Programming Learning Circle
Jun 21, 2022 · Fundamentals

Understanding Common Python Pitfalls and Unexpected Behaviors

This article explores a collection of surprising Python quirks—including string interning, the difference between is and ==, function return semantics, for‑loop variable handling, triple‑quoted strings, and in‑place operators—illustrating why even experienced developers encounter hidden pitfalls during everyday coding.

PitfallsPythonString Interning
0 likes · 8 min read
Understanding Common Python Pitfalls and Unexpected Behaviors
Java Captain
Java Captain
Dec 18, 2017 · Fundamentals

Understanding Java Constant Pool: Theory and Practice

This article explains the Java constant pool, distinguishing static and runtime pools, demonstrates string interning behavior with code examples, and shows how to inspect class files and memory settings to observe constant pool effects in the JVM.

Constant PoolJVMMemory Management
0 likes · 9 min read
Understanding Java Constant Pool: Theory and Practice