Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As you stated, Encoding/decoding would kill your performance.

Float16Array would immediately halve your memory requirements

Another possibility would be to have separate precision arrays.

eg. Float16Array for x,y and even Int8Array for dx/dy, but, in both cases you will would get some motion artifacts, especially for Int8 from the clamping and aliasing of dx/dy.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: