summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-05-07 22:13:24 +0200
committerAraq <rumpf_a@web.de>2011-05-07 22:13:24 +0200
commit73c355176653e5b643f2bbbdc4f967cc24b3ee3b (patch)
tree8b25ccdebec59fbd7773f273b66b4fe1cf8e0643 /koch.nim
parent7d2b3dd6db07203d7ff7a083ddae62aa8e7942c8 (diff)
downloadNim-73c355176653e5b643f2bbbdc4f967cc24b3ee3b.tar.gz
gc tweaking to gain a few percent of performance
Diffstat (limited to 'koch.nim')
-rwxr-xr-xkoch.nim6
1 files changed, 2 insertions, 4 deletions
diff --git a/koch.nim b/koch.nim
index 4524ed3e8..29fa86cb3 100755
--- a/koch.nim
+++ b/koch.nim
@@ -157,10 +157,8 @@ proc cleanAux(dir: string) =
       of "nimcache": 
         echo "removing dir: ", path
         removeDir(path)
-      of "dist", ".git":
-        nil
-      else:
-        cleanAux(path)
+      of "dist", ".git": nil
+      else: cleanAux(path)
     else: nil
 
 proc removePattern(pattern: string) =