EncodeRow8/16 reuse one pooled scratch row for RGB-to-gray output instead of allocating per row; drop unused JPEG marker constants; the 24 MP timing test skips itself when the JIT optimiser is disabled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC