See [failing pylint primer runs](https://github.com/pylint-dev/pylint/actions/runs/4973881710). My mac shows 20% performance regression running `time pylint music21`. bisected to #2158 #### initial ideas: - the inference tip cache probably needs to be rewritten as an LRU cache. - or, we need to hash equivalent InferenceContexts somehow (I [started to explore this](https://github.com/pylint-dev/astroid/pull/2158/commits/38955bf992cd0dda6b95b8d48f282a3f0b4a42bb) in #2158 but didn't ultimately pursue it)
See failing pylint primer runs.
My mac shows 20% performance regression running
time pylint music21.bisected to #2158
initial ideas: