Closed hackwaly closed 2 weeks ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR refactor "builtin/array.mbt" to "builtin/arraycore.mbt" and "builtin/array.mbt".
The file "builtin/arraycore.mbt" contains core primitives to implement an array. And "builtin/array.mbt" has zero knowledge about what's the underlying type of
Array
.This abstraction make it easier to introducing compiling array to js native array.
This PR also fix the memleak issue.