Use OrderedMultiMap for function resolution #744

nddrylliog opened this Issue Nov 29, 2013 · 2 comments


None yet

1 participant


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

Or just MultiMap..


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