Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Aug 27, 2024

Before we just had a map that people would access with localGraph.getSetses[get],
while now it is a call localGraph.getSets(get), which more nicely hides the internal
implementation details.

Also rename getSetses => getSetsMap.

This will allow a later PR to optimize the internals of this API.

This is performance-neutral as far as I can measure. (We do replace a direct read
from a data structure with a call, but the call is in a header and should always get
inlined.)

@kripken kripken requested a review from tlively August 27, 2024 20:36
@kripken kripken merged commit 95ddd05 into WebAssembly:main Aug 28, 2024
@kripken kripken deleted the lg.api branch August 28, 2024 16:13
@gkdn gkdn mentioned this pull request Aug 31, 2024
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.

2 participants