Tagged articles

Java collections

4 articles · Page 1 of 1
Java Backend Technology
Java Backend Technology
Jun 1, 2026 · Fundamentals

Why Is fastutil Up to 10× Faster Than Java’s Standard Collections?

fastutil dramatically outperforms Java’s standard collections by eliminating boxing, cutting memory usage and GC pressure, offering primitive‑specific maps and lists, providing 64‑bit indexed BigArrays for massive data, and delivering faster I/O utilities, all while remaining API‑compatible.

BigArraysFastUtilJava collections
0 likes · 6 min read
Why Is fastutil Up to 10× Faster Than Java’s Standard Collections?
Lin is Dream
Lin is Dream
Mar 12, 2025 · Fundamentals

Unlocking Java’s HashMap: How Hash Functions Power Fast Lookups

This article explains the fundamentals of hash structures, hash functions, and Java collection implementations such as HashMap, LinkedHashMap, and ConcurrentHashMap, covering their design, collision handling, performance characteristics, and how Redis extends these concepts to a distributed environment.

Data StructuresHashMapJava collections
0 likes · 12 min read
Unlocking Java’s HashMap: How Hash Functions Power Fast Lookups
Java Architect Essentials
Java Architect Essentials
Mar 19, 2023 · Backend Development

Why Arrays.asList and subList Can Throw Unexpected Exceptions in Java

This article explains the hidden pitfalls of Java's Arrays.asList and ArrayList.subList methods, showing how fixed‑size lists cause UnsupportedOperationException, how subList creates a mutable view that can trigger ConcurrentModificationException, and provides concrete code examples and source‑code analysis.

Arrays.asListConcurrentModificationExceptionJava
0 likes · 10 min read
Why Arrays.asList and subList Can Throw Unexpected Exceptions in Java