You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The internal/imports.Prune method parses the entire generated file, removes unused imports, then reformats it. This can be very expensive in large files (we have some files that are 680k lines / 40MB+).
We should be able to determine the required imports as we build the file, only include the correct imports, and avoid this step entirely.
The text was updated successfully, but these errors were encountered:
The
internal/imports.Prune
method parses the entire generated file, removes unused imports, then reformats it. This can be very expensive in large files (we have some files that are 680k lines / 40MB+).We should be able to determine the required imports as we build the file, only include the correct imports, and avoid this step entirely.
The text was updated successfully, but these errors were encountered: