Binary_write: tailrec-ify write_rec
Someone complained about a stack overflow over there.
Here is an attempt to fix it.
It is not tested, performance hasn't been measured, etc. I am just leaving the code here in case someone needs it.
Someone complained about a stack overflow over there.
Here is an attempt to fix it.
It is not tested, performance hasn't been measured, etc. I am just leaving the code here in case someone needs it.