Message from JavaScript discussions

October 2018

— Etc


That is why I made these uniqueness types, with 1 instance only, to prevent that extreme object creation and impact on GC time

— Ohh, I had an idea, I wonder what happens if I use arrays with magic number indexes


type: "call",
functor: [[Function]]
thisArg: null,
args: []

["call", [[Function]], null, []]

Message permanent page

— That way it is always known where the data is in memory

— Rather than traversing a graph to find it


— Https://

— Ayyy

— for (const argName of this.argSlots) - is this always ordered?

— Yes, the order is maintained because that array represents the invocation operator's argument list


// Type 1: Invocation Tokens,
// Wrap userland functors and any operands needed to invoke them.
call: new HzToken("call",

Message permanent page