Update logic to process "Schematic" key in NBT for version 3, ensuring compatibility with nested tags. Adjust function signatures to pass CompoundTag references, optimizing data handling and reducing unnecessary clones.
Replaced direct calls to `ocl_available()` with a `OnceLock` for thread-safe and efficient lazy initialization. This avoids redundant checks and improves performance in scenarios where OpenCL is not repeatedly required.
Replaced repeated ProQue initialization with a static OnceLock to ensure efficient and thread-safe reuse. This minimizes the overhead of recreating the ProQue instance while maintaining correct behavior by dynamically updating its dimensions.