Re: preserving the relationship between upvalues of serialized functions in LuaJIT 2

  • From: Mike Pall <mike-1206@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 16 Jun 2012 14:44:10 +0200

Patrick Donnelly wrote:
> On Fri, Jun 15, 2012 at 9:14 AM, Mike Pall <mike-1206@xxxxxxxxxx> wrote:
> > Anyway, I'm undecided on this part. Opinions welcome!
>
> It seems you don't understand the purpose of the functions, from your
> earlier post:
>
> "But ... why is all of that necessary? Why serialize two functions
> that obviously had to have a common parent? Why not serialize the
> parent instead? That would avoid all of the logic."

First ... your reply does not relate to the actual question
I posed about the API/ABI issues.

And I very well understand the purpose. But I still doubt it's an
essential feature. The example you gave is easily solved by
serializing the parent function. Where did I mention that? Ah.

--Mike

Other related posts: