muhammadmuzzammil1998/jsonc

Use index assignment instead of appending to the slice.

Closed this issue · 1 comments

The speed and the allocations can be improved by pre allocating the slice and using index assignment.

Thanks... Didn't think to benchmark the tests. 😅