Subj : Re: Byte Arrays in JavaScript To : netscape.public.mozilla.jseng From : Sajid Raza Date : Sun May 23 2004 12:57 pm Thanks for the info. The byte arrays are always dense. JSPROP_SHARED would apply to a particular JSPropertySpec that I define for a class. However, if I wanted to have the same behavior for property indexes from 0 to max int, would I be able to do so? I'm not sure I understand the second sentence. Is there a 'resolve' function or some method? My ignorance. Thanks, SR > You shouldn't use slots at all; see JSPROP_SHARED in jsapi.h. Use > resolve to lazily reflect byte-valued properties of the class prototype > that have the JSPROP_SHARED attribute, and whose getter and setter know > how to index into a private byte array data struct per instance. > > Are these byte arrays typically or always dense? > > /be .