mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: parallelize (#10844)
This commit is contained in:
@@ -346,7 +346,7 @@ pub fn parse_files(paths []string, table &ast.Table, pref &pref.Preferences) []&
|
||||
}
|
||||
$if macos {
|
||||
/*
|
||||
if pref.is_parallel && paths[0].contains('/array.v') {
|
||||
if !pref.no_parallel && paths[0].contains('/array.v') {
|
||||
println('\n\n\nparse_files() nr_files=$paths.len')
|
||||
println(paths)
|
||||
nr_cpus := runtime.nr_cpus()
|
||||
|
||||
Reference in New Issue
Block a user