Right now, each sequential modifier verification tends to re-fetch the enclosing scope, doing equivalent verification. Change code to more explicitly do the fetch once, sharing the result, also making the enclosing scope available to the caller for other work.
Note, the type store similarly carries an inst store pointer; that's what I'm basing having the name scope store's inst store pointer on.
Right now, each sequential modifier verification tends to re-fetch the enclosing scope, doing equivalent verification. Change code to more explicitly do the fetch once, sharing the result, also making the enclosing scope available to the caller for other work.
Note, the type store similarly carries an inst store pointer; that's what I'm basing having the name scope store's inst store pointer on.