04-15-2024 01:57 PM
Note that my version has significantly fewer array buffer allocations and might be more efficient for very large arrays. (Not tested).