**fast_json** is a production-grade, high-performance JSON library for MQL5, engineered for scenarios where **I/O throughput** and **memory efficiency** are paramount.
Unlike standard libraries that fragment the heap with thousands of small object allocations, **fast_json** employs a **tape-based zero-allocation memory model**. It parses JSON directly into a contiguous integer array (the "tape"), enabling it to process gigabytes of data with minimal overhead and zero garbage collection pressure.
- **⚡ SWAR Acceleration**: Uses Simulated 64-bit SWAR (SIMD within a Register) to scan 8 bytes at a time for structural characters and backslash detection.
- **🔢 Decomposed Number Parser**: XOR-first pattern with single-pass integer accumulation (fxsaber architecture). Extended Pow10 tables cover full `DBL_MAX_10_EXP` — zero `MathPow` calls at runtime.
- **🛡️ Stack-Safe Iterative Parser**: Finite state machine. Zero recursion. Immune to stack overflow.
- **🔧 Handle-Based Navigation**: Lightweight `CJsonNode` structs that point to the tape. Copying nodes is free.
- **📡 Direct Buffer Parsing**: `ParseBuffer(uchar&[])` accepts raw byte arrays — zero `StringToCharArray` overhead for WebSocket/WebRequest data.
- **⚙️ Branchless Internals**: HexToDec lookup table, packed key format with embedded length, direct byte serialization for literals.