optimized fmt_pack to avoid pointless memory [re]allocations
optimized fmt_pack to avoid pointless memory [re]allocations

snake5/sgscript,elvman/sgscript,snake5/sgscript,elvman/sgscript,snake5/sgscript,snake5/sgscript