(&self)
| 326 | /// Get cache statistics for debugging. |
| 327 | #[must_use] |
| 328 | pub fn cache_stats(&self) -> CacheStats { |
| 329 | CacheStats { |
| 330 | inode_cache_size: self.inode_cache.len(), |
| 331 | position_cache_size: self.position_cache.len(), |
| 332 | } |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | /// Statistics about the globalization context caches. |