feat(hash): add memory recycling hash table

This commit is contained in:
fallenoak 2023-03-26 15:49:41 -05:00 committed by GitHub
parent 06dbb7d1c8
commit 8a232d34f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 158 additions and 5 deletions

View file

@ -0,0 +1,15 @@
#ifndef STORM_HASH_TS_OBJECT_CHUNK_HPP
#define STORM_HASH_TS_OBJECT_CHUNK_HPP
#include "storm/Array.hpp"
#include "storm/List.hpp"
template <class T, class TKey>
class TSHashObjectChunk {
public:
// Member variables
TSGrowableArray<T> m_array;
TSLink<TSHashObjectChunk<T, TKey>> m_link;
};
#endif