go-twig/examples
semihalev f1add2d820 Implement efficient LRU eviction strategy for attribute cache
- Added tracking of last access time and access count to cache entries
- Implemented eviction policy to remove least recently/frequently used entries
- Cache now removes 10% of entries when the cache is full, prioritizing by usage
- Added benchmarks and tests to verify eviction strategy
- Fixed the previously ineffective eviction strategy
- Improved cache efficiency for applications with many diverse object types

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-11 14:20:47 +03:00
..
compiled_templates Fix code style inconsistencies and update documentation 2025-03-11 09:29:12 +03:00
custom_extensions Add template compilation capabilities 2025-03-10 09:21:20 +03:00
development_mode Add template compilation capabilities 2025-03-10 09:21:20 +03:00
macros Add macro benchmark tests and update documentation 2025-03-11 13:29:17 +03:00
macros_advanced Implement efficient LRU eviction strategy for attribute cache 2025-03-11 14:20:47 +03:00
simple Add template compilation capabilities 2025-03-10 09:21:20 +03:00