You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means if we ever need to swap allocator at some point in the future, it's all handled in a single place. It also means that the GC isn't running when it potentially should be as this is happening outside the realm of the memory watermark.
Describe the solution you'd like
No uses of malloc / realloc / free within the project, all handled through the macros.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your feature request related to a problem?
Uses of
valueToString
and such use default malloc and free, it would be much better if it was handled via the macros provided within https://github.com/dictu-lang/Dictu/blob/develop/src/vm/memory.hThis means if we ever need to swap allocator at some point in the future, it's all handled in a single place. It also means that the GC isn't running when it potentially should be as this is happening outside the realm of the memory watermark.
Describe the solution you'd like
No uses of malloc / realloc / free within the project, all handled through the macros.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: