summary refs log tree commit diff stats
path: root/lib/js/dom.nim
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-03-12 22:46:18 +0100
committerdef <dennis@felsin9.de>2015-03-12 22:46:18 +0100
commitef9a3b4d3ba802aeddb2176770eb174c73e231a3 (patch)
treef5023a52976fa6a0e940a19ce3e72b9391063cd0 /lib/js/dom.nim
parentc707923cc1d6f6aa08afadb02ccf21d15d223f7f (diff)
downloadNim-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 'lib/js/dom.nim')
0 files changed, 0 insertions, 0 deletions