HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TfCompressedBits::FastHash Struct Reference

#include <compressedBits.h>

Public Member Functions

size_t operator() (const TfCompressedBits &bits) const
 

Detailed Description

A hash functor for TfCompressedBits that is faster than Hash.

This hash can be computed in constant time because it only uses a fixed subset of data: the number of bits in total, the running bit, the number of words and the first cache line of words.

Definition at line 295 of file compressedBits.h.

Member Function Documentation

size_t TfCompressedBits::FastHash::operator() ( const TfCompressedBits bits) const
inline

Definition at line 296 of file compressedBits.h.


The documentation for this struct was generated from the following file: