News for hackers. Stuff that matters.
Re:Writing a Non-Blocking JavaScript Quicksort by RandomBK on Wednesday June 10, 2015 @09:40AM (#9692047)
That may be what the API requires, but is it actually implemented as a physical move/copy of memory? It sounds like they can just make the array _appear_ to be cleared, while keeping it in place in memory.
Re:Writing a Non-Blocking JavaScript Quicksort by yoklov on Wednesday June 10, 2015 @09:54AM (#9692150)
The way I understand it is that they usually just move the pointer to the ArrayBuffer's underlying data store. No block copy occurs.