Skip to content

Commit ad04087

Browse files
committed
test finedex size inaccurately
1 parent 0e25e63 commit ad04087

12 files changed

+845
-783
lines changed

include/finedex/aidel_model.h

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ namespace aidel
6464
int scan(const key_t &key, const size_t n, std::vector<std::pair<key_t, val_t>> &result);
6565

6666
void resort(std::vector<key_t> &keys, std::vector<val_t> &vals);
67+
double model_size();
6768

6869
private:
6970
inline size_t predict(const key_t &key);
@@ -84,6 +85,7 @@ namespace aidel
8485
bool *valid_flag = nullptr;
8586
levelbin_type **levelbins = nullptr;
8687
model_or_bin_t **mobs = nullptr;
88+
double sz = 0;
8789

8890
const size_t capacity;
8991
};

0 commit comments

Comments
 (0)