by userbinator · 12y ago · 0 comments
I'm not sure this would be any better than just manually writing out both trivial iterations of the loop:
for (i = 0; i < 2; i++)Of course there is always potential for optimization, but at this point it's fast enough for our purposes. If you can make it significantly faster please don't hesitate to submit a PR 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....