Struct VectorizedMatcher
pub struct VectorizedMatcher { /* private fields */ }Expand description
Vectorized string matcher for SIMD optimization
Implementations§
§impl VectorizedMatcher
impl VectorizedMatcher
pub fn new() -> VectorizedMatcher
pub fn new() -> VectorizedMatcher
Create a new vectorized matcher
pub fn add_pattern(&mut self, pattern: &str)
pub fn add_pattern(&mut self, pattern: &str)
Add a pattern for vectorized matching
pub fn find_exact_matches(&self, topic: &str) -> Vec<usize>
pub fn find_exact_matches(&self, topic: &str) -> Vec<usize>
Find exact matches using vectorized operations
Auto Trait Implementations§
impl Freeze for VectorizedMatcher
impl RefUnwindSafe for VectorizedMatcher
impl Send for VectorizedMatcher
impl Sync for VectorizedMatcher
impl Unpin for VectorizedMatcher
impl UnwindSafe for VectorizedMatcher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more