by ajuc · 5y ago · 0 comments
How is recursion handled? To get a hash for a function you have to have hashes for every function it calls. Is there special "recurse" opcode?
And how do you update a function implementation when you have a cycle in the callgraph?
Simply put, there is a special recurse opcode.
When you have a cycle in the call graph, they all get hashed together as a single unit; you update them together as a single unit too.