mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-26 01:22:24 +02:00
Two micro-optimizations: 1. Remove per-element isinstance check in _xxhash_str/_uuid5_str — all call sites pass string parts, so encode() directly without checking. 2. Flatten task_path_str to avoid recursive calls for the common case of tuple elements being str or int (not nested tuples). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>