Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One more import refactoring #203

Closed
wants to merge 1 commit into from
Closed

One more import refactoring #203

wants to merge 1 commit into from

Commits on Jan 18, 2011

  1. One last refactoring of the import handling:

    * Create an import resolving stage. Currently this involves a copy of the ast,
      we can probably revisit this once we revisit doing full copies of the ast in
      general.
    
    * Don't repeat work. Once we resolve a import, put it on a hash table and use
      it next time we are asked for it. This solves a O(n^2) behaviour in
      degenerated cases.
    
    * Once import resolution is done, the target of an import is stored on the
      import itself.
    cixtor committed Jan 18, 2011
    Configuration menu
    Copy the full SHA
    b807378 View commit details
    Browse the repository at this point in the history