摘要: js描述集合 function Set(){ this.datasource=[]; this.add=add; this.remove=remove; //this.size=size; //this.union=union; //this.intersect=intersect; //this. 阅读全文
posted @ 2017-09-23 16:33 技术-刘腾飞 阅读(137) 评论(0) 推荐(0) 编辑
摘要: js描述链表 有些情况下js的数组结构在实际使用中速度很慢,此时可以考虑用链表来代替它; 示例 github:https://github.com/Frankltf/js node/tree/features one 阅读全文
posted @ 2017-09-23 09:48 技术-刘腾飞 阅读(201) 评论(0) 推荐(0) 编辑