Use OrderedMultiMap for function resolution #744

Closed
nddrylliog opened this Issue Nov 29, 2013 · 2 comments

Projects

None yet

1 participant

@nddrylliog
Member

Right now we're iterating through HashMaps and comparing names which:

  • defeats the pupose of the HashMap
  • generates a lot of garbage
  • is expensive time-wise - both for collecting the garbage we generated and just for going through each key in general.

I'm adding tests for OrderedMultiMap first, though. It's already used in other parts of rock, but... can't be too sure.

@nddrylliog nddrylliog was assigned Nov 29, 2013
@nddrylliog
Member

Or just MultiMap..

@nddrylliog
Member

TypeDecl uses that now.

@nddrylliog nddrylliog closed this Dec 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment