closeio/ciso8601
View on GitHub ↗ ★ 577 Python
Fast ISO8601 date time parser for Python written in C
6 mentions on Hacker News by 4 people: 1 story, 5 comments · first 2014-06-10 · latest 2023-03-06
20082026
-
…ORMs and things like json and date parsing, as seen in the excellent ciso8601 [1] for example. [1] https://github.com/closeio/ciso8601
comment by uniqueuid · 2022-07-06 · in Python 3.11 vs 3.10 performance -
…With my C module, I got 320ns, which was 62x faster than Python's less flexible strptime. See https://github.com/closeio/ciso8601/ for my benchmarks.
comment by thomas-st · 2016-10-13 · in Timing the time it takes to parse time -
…though :) EDIT: Wouldn't most C compilers unroll the simple "for" loops? Direct link to the C code: https://github.com/elasticsales/ciso8601/blob/master/module....
comment by thomas-st · 2014-06-10 · in Show HN: A fast ISO8601 date-time parser for Python -
…time zone information. ciso8601 supports time zones using pytz' FixedOffset and UTC classes, see https://github.com/elasticsales/ciso8601 for additional benchmarks. There's potential for further speedup by using a tzoffset subclass written…
comment by thomas-st · 2014-06-10 · in Show HN: A fast ISO8601 date-time parser for Python -
You can see the issue it solves pretty clearly here: https://github.com/elasticsales/ciso8601#benchmark Python != PHP
comment by anemitz · 2014-06-10 · in Show HN: A fast ISO8601 date-time parser for Python