-
Notifications
You must be signed in to change notification settings - Fork 161
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
docs: command line options "-c" is not documented. #273
Comments
The idea was to keep the "young generation" in GASMAN to a limited size so that it would fit in cache. This forces more, but shorter partial garbage collections. I haven't tried it in many years, but I don't recall it ever producing measurable speedups. On the other hand that was in the days of 256KB caches. I don't know if it would be useful on a more modern CPU. |
I have made a few tests yesterday. You can easily see the difference by trying So, the default (that is How about adding a short description to the documentation, but also saying that in the current implementation a non-zero argument doesn't seem to be useful. |
This code was meant as an optimization for CPUs with data cache (i.e. nowadays every CPU), but in practice it seems to have no noticeable impact. Resolves gap-system#273
This code was meant as an optimization for CPUs with data cache (i.e. nowadays every CPU), but in practice it seems to have no noticeable impact. Resolves gap-system#273
This code was meant as an optimization for CPUs with data cache (i.e. nowadays every CPU), but in practice it seems to have no noticeable impact. Resolves #273
I am not sure what is meant for -- other than what I can read in the code, that is: it modifies
SyCacheSize
, which is the "size of the data cache". And this affects gasman somehow. But it is unclear to me whether it has any real-world noticable impact; and whether anybody uses it.It was apparently added before the initial CVS import in July 1996.
In summary: We should either document it, or remove it. My guess is that the latter option is the best choice, but perhaps somebody knows better?
The text was updated successfully, but these errors were encountered: