perhaps slight speedup in navnexus
parent
e44b1da26f
commit
7b0eae6ce5
|
@ -65,9 +65,10 @@ try
|
||||||
|
|
||||||
// so we have a ton of files, and internally these are not ordered
|
// so we have a ton of files, and internally these are not ordered
|
||||||
map<string,uint32_t> fpos;
|
map<string,uint32_t> fpos;
|
||||||
|
vector<NavMonMessage> nmms;
|
||||||
for(;;) {
|
for(;;) {
|
||||||
auto srcs = getSources();
|
auto srcs = getSources();
|
||||||
vector<NavMonMessage> nmms;
|
nmms.clear();
|
||||||
for(const auto& src: srcs) {
|
for(const auto& src: srcs) {
|
||||||
string fname = getPath(g_storage, start.first, src);
|
string fname = getPath(g_storage, start.first, src);
|
||||||
int fd = open(fname.c_str(), O_RDONLY);
|
int fd = open(fname.c_str(), O_RDONLY);
|
||||||
|
|
Loading…
Reference in New Issue