3 ms·
> Did this implementation work? Yes. Did it run fast? No. It was glacial. After noodling with the code for a while, I had my galaxy-brain moment: maybe the i
by nunez 5y ago
> Did this implementation work? Yes. Did it run fast? No. It was glacial. After noodling with the code for a while, I had my galaxy-brain moment: maybe the incessant duplication and deletion of 30K data arrays had something to do with it?
I thought OCaml handled this problem with copy-on-write and/or fancy pointer math. Is there more to it?