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
20082026
-
(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 -
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 -
…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…
comment by wood_spirit · 2025-11-26 · in A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards) -
…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 -
…The fastest way I found for the calendar month numbers etc was to use a precomputed table etc. https://github.com/williame/TimeMillis
comment by wood_spirit · 2023-07-02 · in Parsing time stamps faster with SIMD instructions -
…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…
comment by wood_spirit · 2023-07-02 · in Parsing time stamps faster with SIMD instructions -
…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!
comment by willvarfar · 2020-09-12 · in The Unix timestamp will begin with 16 this Sunday