perhaps slight speedup in navnexus

hzcorr
bert hubert 2019-09-05 09:35:00 +02:00
parent e44b1da26f
commit 7b0eae6ce5
1 changed files with 2 additions and 1 deletions

View File

@ -65,9 +65,10 @@ try
// so we have a ton of files, and internally these are not ordered
map<string,uint32_t> fpos;
vector<NavMonMessage> nmms;
for(;;) {
auto srcs = getSources();
vector<NavMonMessage> nmms;
nmms.clear();
for(const auto& src: srcs) {
string fname = getPath(g_storage, start.first, src);
int fd = open(fname.c_str(), O_RDONLY);