-
Notifications
You must be signed in to change notification settings - Fork 260
Description
I am really interested in the V language, and I know their compiler supports the flag -autofree
which is able to perform automatic memory management in order to significantly reduce memory leaks. It is still in development as a feature, but seems to work just fine for the majority of code. Since it's not enabled by default, or in this repo, perhaps a footnote for V's memory values should be added since the current numbers include memory leaks, without any freeing of memory (except for in the base64 benchmark it appears). Alternatively, -autofree
could be tentatively enabled, but if any build or runtime errors occur, this could be reverted.
If -autofree
is ever enabled, the manual freeing of memory in test.v
should probably be removed since it's taken care of by the compiler.