Hacker GitHub

← All repos

williame/TimeMillis

View on GitHub ↗ ★ 9 Java

Very fast Java library for working with timestamps as longs (as returned by System.currentTimeMillis())

7 mentions on Hacker News by 2 people: 0 stories, 7 comments · first 2020-09-12 · latest 2026-03-20

Mentions per year 7 mentions · busiest year 2023 (2)
20082026
  1. (Perhaps a good library for timestamp code in data pipelines https://github.com/williame/TimeMillis )
    comment by wood_spirit · 2026-03-20 · in Java is fast, code might not be
  2. Also zap the timestamp instant objects if you really need speed; see https://github.com/williame/TimeMillis
    comment by wood_spirit · 2026-03-20 · in Java is fast, code might not be
  3. …in a different league speed wise but also scope wise is my very fast timestamp library for Java https://github.com/williame/TimeMillis This focuses on string <-> timestamp and a few other utilities that are super common in data processing…
  4. …made long ago for when you find your data pipelines are running hot parsing timestamp strings etc: https://github.com/williame/TimeMillis I’m still pumped by the performance of the thing! :)
    comment by wood_spirit · 2025-07-25 · in Never write your own date parsing library
  5. …The fastest way I found for the calendar month numbers etc was to use a precomputed table etc. https://github.com/williame/TimeMillis
  6. …common and so incredibly slow that I’ve previously made a fast library to work with them: https://github.com/williame/TimeMillis Not as fast as SIMD, perhaps, but much faster than the Java standard library…
  7. …by System.currentTimeMillis() etc). It’s several orders of magnitude faster that Java’s time api! https://github.com/williame/TimeMillis It’s probably not as fast as it could be: all speed ups and improvements welcome!