Mercurial > hg > audiodb
view pointpair.h @ 539:06ed85832c3b multiprobeLSH
Optimized the query_loop_points inner loop for memcpy and I/O efficiency. Uses sparse seeks and reads to perform scattered reads across data set. Current version does not cache fid between open calls to the same trackID.
author | mas01mc |
---|---|
date | Sat, 07 Feb 2009 01:20:05 +0000 |
parents | aa715b3e18db |
children |
line wrap: on
line source
// should probably be rewritten class PointPair { public: uint32_t trackID; uint32_t qpos; uint32_t spos; PointPair(uint32_t a, uint32_t b, uint32_t c); }; bool operator<(const PointPair& a, const PointPair& b); bool operator>(const PointPair& a, const PointPair& b);