memgraph/include/utils/array_store.hpp

11 lines
297 B
C++
Raw Normal View History

2016-09-08 20:25:52 +08:00
#pragma once
#include <vector>
// TODO: more bytes can be saved if this is array with exact size as number
// of elements.
// TODO: even more bytes can be saved if this is one ptr to structure which
// holds len followed by len sized array.
template <class T>
using ArrayStore = std::vector<T>;