Faster nimgrep (#6983)
* compile nimgrep with -d:release * nimgrep: only parse pattern once at startup
This commit is contained in:
parent
ce983383fc
commit
23c77ffa3a
2 changed files with 20 additions and 28 deletions
2
koch.nim
2
koch.nim
|
|
@ -260,7 +260,7 @@ proc buildTools(latest: bool) =
|
|||
" nimsuggest/nimsuggest.nim"
|
||||
|
||||
let nimgrepExe = "bin/nimgrep".exe
|
||||
nimexec "c -o:" & nimgrepExe & " tools/nimgrep.nim"
|
||||
nimexec "c -d:release -o:" & nimgrepExe & " tools/nimgrep.nim"
|
||||
when defined(windows): buildVccTool()
|
||||
|
||||
#nimexec "c -o:" & ("bin/nimresolve".exe) & " tools/nimresolve.nim"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue