Module path_params

Module path_params 

Source
Expand description

Path parameter types with optimized storage

This module provides efficient path parameter storage using stack allocation for the common case of having 4 or fewer parameters.

Structs§

PathParams
Path parameters with stack-optimized storage.

Constants§

STACK_PARAMS_CAPACITY
Maximum number of path parameters to store on the stack. Most routes have 1-4 parameters, so this covers the majority of cases without heap allocation.