include_query_aligned

Macro include_query_aligned 

Source
macro_rules! include_query_aligned {
    ($path:expr) => { ... };
}
Expand description

Embed bytecode with 64-byte alignment (zero-copy loading).

Use this instead of include_bytes! to ensure the embedded bytecode is properly aligned for DFA deserialization and cache efficiency.

§Example

use plotnik_lib::{include_query_aligned, bytecode::Module};

let module = Module::from_static(include_query_aligned!("query.ptk.bin"))?;