Twitter
Essays
Random
« Creating bytecode problems solved | Main
Monday
Aug202007

Javascript - getting multi dimensional arrays to work

The problem with my method prior was that, upon seeing an array, I would unbox it and push the actual array on the stack. Now I pass around the JsArray type, and call a virtual method which does the actual setting/getting of an array index. Apparently, its also 3seconds faster than unboxing/boxing the array. Funny stuff huh.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (1)

Check this link would be useful

http://www.webtips.co.in/javascript/creating-and-using-multi-dimensional-array-in-javascript.aspx" REL="nofollow">Multi-Dimensional Array in Javascript

July 4, 2008 | Unregistered CommenterAnonymous

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>