News for hackers. Stuff that matters.
Re:Nearly All Binary Searches and Mergesorts Are Broken by angus_gh on Saturday January 11, 2025 @08:00AM (#42665565)
Java's arrays use a signed 32-bit int as their length, so the longest they can be is about 2 billion elements.

If your code has arrays over a billion elements, then it will fall over the moment someone inputs slightly larger data

There are no comments on this comment yet.