Blogs / Personal blogs

KholdCode

kholdstare.github.io

Back with a post after 6 years of silence. If you had to parse a microsecond-resolution epoch timestamp as quickly as possible, how would you do it? We’ll take a look at using compiler intrinsics to do it in log(n) time.

Popular posts
1
Total points
168
HN comments
42
Rank
#14,592 personal

Visit kholdstare.github.io → RSS feedOn Hacker News Jun 2020 – Jun 2020

Systems & Performance 1Software Engineering 1

1

Faster Integer Parsing

Back with a post after 6 years of silence. If you had to parse a microsecond-resolution epoch timestamp as quickly as possible, how would you do it? We’ll take a look at using compiler intrinsics to do it in log(n) time.