Skip to content

perf(supertypes): add global super type cache#808

Open
Skullians wants to merge 1 commit intoIncendo:masterfrom
spectr-is:perf/global-supertype-cache
Open

perf(supertypes): add global super type cache#808
Skullians wants to merge 1 commit intoIncendo:masterfrom
spectr-is:perf/global-supertype-cache

Conversation

@Skullians
Copy link
Copy Markdown

Same justifications as my other PR:

image

The repeated calls to isSuperType were getting a little heavy, so I've taken the liberty of adding this global cache to cloud-core...
I've also moved some calls to the new cache on cloud-core itself (not necessarily appearing on the above image of spark), but thought it would be a nice idea anyways

isSuperType is used in a decent few platforms so it made the most sense to do a cache in the core and then I can PR it into the other respective repos🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant