savi-lang / savi

A fast language for programmers who are passionate about their craft.
BSD 3-Clause "New" or "Revised" License
156 stars 12 forks source link

Refactor the `namespace` pass to track by package instead of file. #317

Closed jemc closed 2 years ago

jemc commented 2 years ago

Now that we have the new package management system, the set of types available in any given context is determined by the dependencies declared for that package, rather than being able to load different sets of dependencies for each source file.

We can now simplify and reduce the memory and CPU footprint of the namespace pass as a result of that language change.