Re: something wrong in recursive functions inside a function
[Thread Prev] | [Thread Next]
- Subject: Re: something wrong in recursive functions inside a function
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Sat, 26 May 2018 14:38:40 -0700
- To: myrddin-dev@xxxxxxxxxxxxxx
- Cc: vimacs <vimacs.hacks@xxxxxxxxx>
On Sat, 26 May 2018 23:13:29 +0800, vimacs <vimacs.hacks@xxxxxxxxx> wrote: > So is there something wrong with using recursive functions inside a > function? That was a fun bug. Turned out that we were capturing the closure early, and the function pointer was uninitialized -- and because we had decided it was a closure, the function was itself being captured. It *also* shouldn't be captured, since it's a const, but that's a separate optimization that I'm going to do today. -- Ori Bernstein
something wrong in recursive functions inside a function | vimacs <vimacs.hacks@xxxxxxxxx> |
- Prev by Date: Re: something wrong in recursive functions inside a function
- Next by Date: Re: [PATCH] libflate (DEFLATE decoding)
- Previous by thread: Re: something wrong in recursive functions inside a function
- Next by thread: Preparing for Myrddin 0.3
- Index(es):