routine_ids for builtins and PD eueu

new topic     » topic index » view thread      » older message » newer message

I was just looking at the PD eueu source and I thought that routine
ids for builtins would make execute.e alittle faster instead of adding
another layer of wrappers.
Daniel
procedure opREPEAT()
    a = Code[pc+1]
    b = Code[pc+2]
    target = Code[pc+3]
    val[target] = repeat(val[a], val[b])
    pc += 4
end procedure
--why no just routine_id("repeat") and call that?


new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu