libsnobol4 1.0.2
High-performance SNOBOL4-style pattern matching library
Loading...
Searching...
No Matches
dynamic_pattern_cache_t Struct Reference

#include <dynamic_pattern.h>

Collaboration diagram for dynamic_pattern_cache_t:

Public Attributes

dynamic_pattern_cache_entry_t ** buckets
size_t bucket_count
size_t size
size_t max_size

Detailed Description

Dynamic pattern cache

Thread-unsafe LRU-style cache for compiled dynamic patterns. Uses open addressing with chaining for collision resolution.

Definition at line 110 of file dynamic_pattern.h.

Member Data Documentation

◆ bucket_count

size_t dynamic_pattern_cache_t::bucket_count

Definition at line 112 of file dynamic_pattern.h.

◆ buckets

dynamic_pattern_cache_entry_t** dynamic_pattern_cache_t::buckets

Definition at line 111 of file dynamic_pattern.h.

◆ max_size

size_t dynamic_pattern_cache_t::max_size

Definition at line 114 of file dynamic_pattern.h.

◆ size

size_t dynamic_pattern_cache_t::size

Definition at line 113 of file dynamic_pattern.h.


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