3 ms·
Basically, your solution ended up residing on-disk, but the data was fragmented in such a way that efficient lookup was possible? Did this copy from kernel spac
by boywitharupee 3y ago
Basically, your solution ended up residing on-disk, but the data was fragmented in such a way that efficient lookup was possible? Did this copy from kernel space to userspace, also?
- hakunin 3y ago>the data was fragmented in such a way that efficient lookup was possible Yeah, there's a build step that sorts and arranges data into "cells", making binary search possible. Not sure about kernel/user space. I'm just calling `pread` from ruby, so only a few bytes are loaded per lookup.