diff options
author | Flaviu Tamas <tamasflaviu@gmail.com> | 2018-10-28 00:52:49 -0400 |
---|---|---|
committer | Flaviu Tamas <tamasflaviu@gmail.com> | 2018-10-28 00:53:09 -0400 |
commit | 9ca1c2c93035341e06d85f56edeb6a08f962a9e8 (patch) | |
tree | b148956f5631c482ea7425abdb17f933305cf1d8 /tests/pragmas/tused.nim | |
parent | f2cd8ed99a7caa00b20bae2443cacf2d97700d75 (diff) | |
download | Nim-9ca1c2c93035341e06d85f56edeb6a08f962a9e8.tar.gz |
Eliminate floating point arithmatic in nre
Integer division is already hard enough on your CPU, using floating point here is WAY slower and can just as effectivly be done using integers. This is important because matchImpl tends to be in the center of very hot loops (like split()).
Diffstat (limited to 'tests/pragmas/tused.nim')
0 files changed, 0 insertions, 0 deletions