mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-28 01:56:21 +00:00
Parallelization of the Parser
~66% reduction (unoptimized build) ~30% reduction (optimized build)
This commit is contained in:
@@ -2279,6 +2279,8 @@ void check_parsed_files(Checker *c) {
|
||||
scope->file = f;
|
||||
if (f->tokenizer.fullpath == c->parser->init_fullpath) {
|
||||
scope->is_init = true;
|
||||
} else if (f->file_kind == ImportedFile_Init) {
|
||||
scope->is_init = true;
|
||||
}
|
||||
|
||||
if (scope->is_global) {
|
||||
|
||||
Reference in New Issue
Block a user