> I think that it is possible to safely remove the initialization loop from the loadProtos function.Am I bothering you?
> Because the same array will be overwritten in the next loop, in the same positions.
> Is this correct?
No, it is not. The call to luaF_newproto in the next loop may raise
errors and f->p needs to be in a consistent state. The comments in the
loops in loadUpvalues also apply to loadProtos.
I don't mean to be harsh and we do welcome suggestions and
corrections, but do you really think we write useless code?