r.mapcalc and tmp files

Is it possible to write the results of r.mapcalc to a tmp directory? I
have a script file that iterates a lot. I think it would be faster to
write to a tmp directory made with the tmpfs utility and just save the
last map.

Thanks,

Agus