@ebryn just out of curiosity, why are you concerned about allocating a new object here? We're just adding one integer and one pointer to a function object.

@stefanpenner why are you saying

> all the values will be integers

The array is always storing integers and pointers to functions, or pointers to objects as in this PR, am I right?