globalStringInterning top-level property

StringInterning globalStringInterning
final

Global string interning instance for use across the library.

This provides a convenient way to access string interning without passing instances around. However, be aware that this creates a global state that persists across operations.

For better memory management in batch processing scenarios, consider using local StringInterning instances that can be cleared after each batch.

Implementation

final globalStringInterning = StringInterning();