Skip to content

native

sqllocks_spindle.engine.strategies.native

Native vectorized strategy — replaces Faker for built-in providers.

Uses pre-built data arrays and numpy vectorized operations for 10-100x speedup over Faker's per-call generation. All 11 providers used across 12 built-in domains are handled here.

Classes

NativeStrategy

Bases: Strategy

Vectorized native data generation — replaces Faker for built-in providers.

Methods:
can_handle(provider)

Check if this strategy handles the given Faker provider.