Skip to content

Binary_write: tailrec-ify write_rec

Mehdi Bouaziz requested to merge mehdi@tail-rec-write into master

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.

Merge request reports