Compile THINK_PATTERN and FENCE_PATTERN at the module level to improve the performance of extract_json by avoiding redundant regex compilation during function calls. Measured a ~5% performance improvement in an isolated benchmark. - Baseline: 51.98 us/call - Optimized: 49.26 us/call Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| agent_states.py | ||
| agent_utils.py | ||
| core_stock_tools.py | ||
| fundamental_data_tools.py | ||
| json_utils.py | ||
| memory.py | ||
| news_data_tools.py | ||
| scanner_states.py | ||
| scanner_tools.py | ||
| technical_indicators_tools.py | ||
| tool_runner.py | ||