diff options
author | def <dennis@felsin9.de> | 2015-03-12 22:46:18 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-03-12 22:46:18 +0100 |
commit | ef9a3b4d3ba802aeddb2176770eb174c73e231a3 (patch) | |
tree | f5023a52976fa6a0e940a19ce3e72b9391063cd0 /compiler/lowerings.nim | |
parent | c707923cc1d6f6aa08afadb02ccf21d15d223f7f (diff) | |
download | Nim-ef9a3b4d3ba802aeddb2176770eb174c73e231a3.tar.gz |
Speed up readLine by using getc_unlocked
- Only on POSIX and Windows (_fgetc_nolock here) systems - File is locked to our thread before and unlocked after readLine - About 3 times faster in some simple tests
Diffstat (limited to 'compiler/lowerings.nim')
0 files changed, 0 insertions, 0 deletions