Skip to content

Perofrment and consistent type scan#282

Open
shlomiassaf wants to merge 1 commit intonenoNaninu:mainfrom
shlomiassaf:redundant-scan
Open

Perofrment and consistent type scan#282
shlomiassaf wants to merge 1 commit intonenoNaninu:mainfrom
shlomiassaf:redundant-scan

Conversation

@shlomiassaf
Copy link

The source types are sceanned multiple times along the initialization process.

The types should be identical and should be stored in a single location so the type scan process is done once and it is consistent across the process.

This removes all duplicate scans and use a single location for all source types.

Note that for backward compatibility i've left the scan in 2 locations

  • TranspilationOptions - There is a constructor that apply additional scan
  • TypeScriptCodeGenerator has a constructor that does it for backwards compatibility

If you accept this PR you can in next version remove the above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant