Skip to main content

Module simd

Module simd 

Source
Expand description

SIMD-accelerated parsing utilities for BibTeX

This module provides SIMD-optimized functions for common parsing operations like brace balancing and quote scanning, achieving 30-50% performance gains.

Functionsยง

find_balanced_braces
Find balanced braces using SIMD acceleration
find_balanced_parentheses
Find balanced parentheses using SIMD acceleration
find_balanced_quotes
Find balanced quotes using SIMD acceleration
find_entry_start
Fast scan to find entry start (@)
find_field_end
Fast scan for next comma or closing delimiter
find_field_separator
Fast scan for field separator (=)
scan_identifier
SIMD-accelerated identifier scanning using lookup table Returns the length of the identifier (alphanumeric, _, -, :, .)
scan_whitespace
SIMD-accelerated whitespace scanning Returns the length of the whitespace sequence