tess 0.4.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::PathRuntimeCachePolicy Struct Reference

#include <tess/path/path_runtime.h>

Public Attributes

std::size_t clear_every_world_change = 0
bool invalidate_unit_route_cache_on_world_change = true
bool use_unit_field_product_cache = false
std::size_t unit_field_product_min_goal_reuse = 2
std::size_t unit_field_product_min_start_chunks = 2
std::size_t unit_field_product_cache_byte_budget
std::size_t max_route_entries = RouteCacheScratch::default_max_entries
std::size_t max_route_path_nodes = RouteCacheScratch::default_max_path_nodes
std::size_t portal_segment_budget

Detailed Description

Controls cache sizing, reuse, and invalidation for one processing call.

Member Data Documentation

◆ portal_segment_budget

std::size_t tess::PathRuntimeCachePolicy::portal_segment_budget
Initial value:
=
WeightedPortalSegmentCache::default_segment_budget

◆ unit_field_product_cache_byte_budget

std::size_t tess::PathRuntimeCachePolicy::unit_field_product_cache_byte_budget
Initial value:
=
std::numeric_limits<std::size_t>::max()

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