I'm writing a client program for a game in Javascript but I'm new in Javascript world. Core Javascript lack of high level data structures.
I've found code snippets on internet but I'm looking for a reference library (like commons-collection or google-collection in java world).
I found this post: JavaScript implementation of a set data structure which refers to jshashtable and closure.
Are they开发者_开发问答 reference implementations? Do you know something else?
Thanks
http://www.datajett.com/Tuts/JScriptGen/javascriptDataStructs.pdf
http://eloquentjavascript.net/chapter4.html
http://www.learningapi.com/blog/archives/000078.html
http://jsclass.jcoglan.com/ gives you everything Ruby has, which is a lot.
https://github.com/js-sdsl/js-sdsl
A javascript standard data structure library which benchmark against C++ STL.
精彩评论