(the copy is the same as System.arraycopy -- it only copies references for
objects, but it copies scalars such as integers and floats.)

On Fri, Dec 18, 2015 at 2:05 PM, Robert Hanson <hans...@stolaf.edu> wrote:

> Oh, yes. .slice() copies all or part of an array.
>
> That's certainly a major improvement. Excellent. Jsmol is now using
> .slice() exclusively when possible.
> I suspect some of that fast processing time is due to this use.
>
> This is the kind of deep optimization that really have an effect. Great!
>
> How about strings? Any suggestions for boosting that hugely?
>
> Bob
> ​
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to