On Friday, 6 June 2014 at 00:33:23 UTC, Brian Schott wrote:
Implementing some SIMD code just in the lexWhitespace function causes a drop in total lexing time of roughly 3.7%. This looks promising so far, so I'm going to implement similar code in lexStringLiteral, lexSlashStarComment, lexSlashSlashComment, and lexSlashPlusComment.
Some moe numbers: SIMD reduces execution time by 5.15% with DMD.Compiling the non-SIMD code with GDC reduces execution time by 42.39%.
So... There's that.
