Marko Milenković — click to return home

Marko Milenković

I'm Marko — a Java backend engineer writing about what actually works: performance benchmarks, JUnit, SQL Server, and JVM internals.
18 posts 1 TIL
Currently working on Building an agentic development framework — see what I'm up to
Pinned · Now What I'm Doing Now — Last updated: October 2026 🧠 Building an agentic development framework My main focus right now is building an agentic development framework …
Marko Milenković
Fastest MS SQL Inserts — Part 7: Index Impact

Fastest MS SQL Inserts — Part 7: Index Impact

Every production table has indexes. Every INSERT has to maintain them. Add 5 non-clustered indexes to a table and the Bulk API — the fastest single-thread …

16 min read
Enjoying these posts?

New Java, SQL Server & testing posts — straight to your inbox.

Marko Milenković
TIL

TIL: String.isBlank() vs isEmpty()

" ".isEmpty() returns false, but " ".isBlank() returns true — whitespace counts as blank, not empty.

1" ".isEmpty();   // false — length is 1
2" ".isBlank();   // true  — whitespace only (Java 11+)
3"abc".isBlank(); // false

I caught myself writing s.trim().isEmpty() again today. String.isBlank() exists since Java 11 and covers exactly this case — plus it is Unicode-aware, so " \u00A0 ".isBlank() also works where trim() misses non-breaking spaces.

Load more