Hi Rolf
I was about to suggest what Bob is putting forward: if Javascript is faster,
you
might take part of the code out from JmolScript into JavaScript. I believe he
has demo'ed how.
Another idea: I found that in Javascript there is much improvement in loops
when they are decrementing instead of incrementing the control variable.
Namely, changing
for (i=0; i<n; i++) { ... }
to
i=n;
while (i--) { ... }
Maybe you can squeeze some juice also in JmolScript.
I did not understand the real reason for that, but it does work. There is
abundant documentation in the web.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers