REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::detail::pike_vm< State, StateBoundToProgram >::cp_hi_cache_entry Struct Reference

Cache entry for cp_hi_cached (thread-local, not on basic_pike_state). Keyed by a content fingerprint, never a pointer into a program: programs die while the cache lives, and a recycled cp_ranges address would return another class's table (false membership, e.g. emoji matching [\w€]). More...

Public Attributes

std::uint64_t key_fp {0}
 The class's content fingerprint; 0 marks the entry unused.
 
std::unique_ptr< cp_hi_table > table
 The sparse table built for that class, owned by the cache.
 

Detailed Description

template<typename State, bool StateBoundToProgram = false>
struct real::detail::pike_vm< State, StateBoundToProgram >::cp_hi_cache_entry

Cache entry for cp_hi_cached (thread-local, not on basic_pike_state). Keyed by a content fingerprint, never a pointer into a program: programs die while the cache lives, and a recycled cp_ranges address would return another class's table (false membership, e.g. emoji matching [\w€]).


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