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

Get rid of parameters #6

Closed
2 tasks
OxSon opened this issue Oct 3, 2023 · 0 comments
Closed
2 tasks

Get rid of parameters #6

OxSon opened this issue Oct 3, 2023 · 0 comments

Comments

@OxSon
Copy link
Owner

OxSon commented Oct 3, 2023

For ease of testing, it's nice to be able to change the branch factor / max width of a tree (it's much easier to write out a manual test for a 2 or 4-way branching tree than a 32-way branching tree), but in the end, this configuration capability is probably not needed and also probably negatively affects performance. What Clojure does is maintain separate copies of the code where one is parameterized and one is not (see here). We could do something like that, if maintaining parameterized capability is desired (maybe for future dev work / testing, maybe there is some actual production code use case)

@OxSon OxSon closed this as completed Nov 30, 2023
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

No branches or pull requests

1 participant