maxSegments constant
int
const maxSegments
Paths with more segments than this never attempt the cache: the content walk + hash would tax every huge one-off boundary path, and plotted symbols/hatches stay far below it.
Implementation
static const int maxSegments = 64;