<story><title>Parsing time stamps faster with SIMD instructions</title><url>https://lemire.me/blog/2023/07/01/parsing-time-stamps-faster-with-simd-instructions/</url></story><parent_chain><item><author>zokier</author><text>&amp;gt; We know that some character must be smaller than 9, for example, we cannot have more than 59 seconds and never 60 seconds, in the time stamp string.&lt;p&gt;This is how you get leap seconds bugs?</text></item></parent_chain><comment><author>worewood</author><text>Reminds me of that post about things programmers always get wrong about dates [1].&lt;p&gt;[1]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;news.ycombinator.com&amp;#x2F;item?id=4128208&quot;&gt;https:&amp;#x2F;&amp;#x2F;news.ycombinator.com&amp;#x2F;item?id=4128208&lt;/a&gt;</text></comment>
<story><title>Parsing time stamps faster with SIMD instructions</title><url>https://lemire.me/blog/2023/07/01/parsing-time-stamps-faster-with-simd-instructions/</url></story><parent_chain><item><author>zokier</author><text>&amp;gt; We know that some character must be smaller than 9, for example, we cannot have more than 59 seconds and never 60 seconds, in the time stamp string.&lt;p&gt;This is how you get leap seconds bugs?</text></item></parent_chain><comment><author>paulddraper</author><text>&amp;gt; we want to convert them to an integer presenting the number of seconds since the Unix epoch. The Unix epoch is January 1st 1970.&lt;p&gt;UNIX time ignores leap seconds.&lt;p&gt;I.e. it&amp;#x27;s the number of seconds ignoring leap seconds since 1970.</text></comment>