Dan Sugalski writes: > At 9:38 AM +0100 1/21/04, Leopold Toetsch wrote: > >Dan Sugalski <[EMAIL PROTECTED]> wrote: > > > >> Okay, at this point we've a pile of different array classes > > > >> Before we go any further we need to figure out what we want. > > > >1) Unify setting/getting element count > > - the elements() vtable is unused (not accessible by opcode) > > - we use get_integer() > > - push for Array is unusabale currently > > - reserve array store size before filling can have performance > > benefits by avoiding reallocation > > Okay. So, let's do the following: > > *) Expose elements as an op. Two, actually, as we should have a get > and set version.
I'd like it to be possible to return infinity here. If that means setting a PMC or returning a PMC, I think that's fine. As long as there are also Ireg variants. Luke