🚀 Feature
Support specifying the tmp dir in optimize function via environment variables or arguments.
Motivation
I'm trying to use ld.optimize function to optimize my dataset and facing No space error, it seems like it use /tmp/chunks as the tmp dir.