We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d97a030 commit af3d18fCopy full SHA for af3d18f
perf.R
@@ -43,6 +43,7 @@ timeit("parse_integers", parseintperf, 1000)
43
44
printfdperf = function(t) {
45
fd<-file("/dev/null")
46
+ on.exit(close(fd))
47
for (i in 1:t) {
48
s = sprintf("%d %d", i, i+1)
49
writeLines(s, fd)
0 commit comments