Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLEANUP] Investigate emplace pattern #65

Open
JaimeGensler opened this issue Nov 26, 2023 · 0 comments
Open

[CLEANUP] Investigate emplace pattern #65

JaimeGensler opened this issue Nov 26, 2023 · 0 comments
Labels
cleanup Internal cleanup good first issue Good for newcomers

Comments

@JaimeGensler
Copy link
Owner

We use a fetch-or-create pattern pretty much everywhere - resources, events, threads, components. The exact way we do this is a little different everywhere, too.

Ideally, we could make a helper function for this that takes away a lot of the hassle (like the emplace proposal). At the very least, we should unify around a common pattern of what this code looks like.

@JaimeGensler JaimeGensler added good first issue Good for newcomers cleanup Internal cleanup labels Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Internal cleanup good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant