On Thu, Dec 17, 2015 at 9:26 AM, Kubasik, Matthew A. <mkuba...@fairfield.edu > wrote:
> Bob, > > Could you expand on your comment that “Jmol uses typed arrays when > possible"? > > I am in the habit of initializing arrays with a line like: > > a=array() > > Should I be doing something else? Does the array get “typed” after I add > an entry? > > You can use that or just a = [] These user-generated arrays are not typed. Jmol internally uses JavaScript integer and float arrays when possible. Bob
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users