codeparty/racer — pull request #78 by SLaks (2013-02-14 15:17:31+00:00)
Title: Reuse existing MemoryQueries from model

I changed `TransformBuilder._genScopedModel` to check whether this query already exists and return a scoped model for the existing query.

This fixes a bug involving missing queryIds for duplicate queries, and makes them faster too.