Blender V4.3
blender::HashTableStats Class Reference

#include <BLI_hash_tables.hh>

Public Member Functions

template<typename HashTable , typename Keys >
 HashTableStats (const HashTable &hash_table, const Keys &keys)
 
void print (const char *name) const
 

Detailed Description

Definition at line 226 of file BLI_hash_tables.hh.

Constructor & Destructor Documentation

◆ HashTableStats()

template<typename HashTable , typename Keys >
blender::HashTableStats::HashTableStats ( const HashTable & hash_table,
const Keys & keys )
inline

Requires that the hash table has the following methods:

  • count_collisions(key) -> int64_t
  • size() -> int64_t
  • capacity() -> int64_t
  • removed_amount() -> int64_t
  • size_per_element() -> int64_t
  • size_in_bytes() -> int64_t

Definition at line 251 of file BLI_hash_tables.hh.

References blender::Vector< T, InlineBufferCapacity, Allocator >::append_n_times(), float, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().

Member Function Documentation

◆ print()


The documentation for this class was generated from the following files: