Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dynamicSpaceSize ? 3 * 1024, plus something likeThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The goal is to increase the default heap size when
sbclis launched, which defaults to 1GB. Given today's machines, it is an unfit default. Note that on Guix it also defaults to 3GB.The suggestion makes little sense since
sbclcan be started viasbcl --dynamic-space-size <megabytes>. In other words,sbclis already flexible enough in that regard.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It depends on how many SBCL's you want to launch at the same time (and is it nicer or not to skip the extra argument), so I'd say that if we want to override a default without a clear justification for an exact number, we should make it configurable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not like the idea of changing defaults, but I find it acceptable here.
Not OK.
The argument "the user can set it by itself" can be used against your own PR.
In other words, your PR makes as little sense as my suggestion.
If your next argument will be "almost everyone sets it at 3GB, so let's do it ourselves", then the same can be said about some niche examples like "in my rig of machine learning we can set this to 64GB": the niche user can tweak an argument instead of overriding the code.