I saw a stackoverflow answer saying they were equal performance, and included a link to a testcase, but the dude was so dumb that the testcases didnt even work, so im doing my own testcases here to compare performance
const length = 1000;
Ready to run.
|dynamic allocation 3|
|dynamic allocation 4|
You can edit these tests or add more tests to this page by appending /edit to the URL.