@js-sdsl/vector
Advanced tools
Comparing version 4.2.0-beta.0 to 4.2.0-beta.1
@@ -99,3 +99,6 @@ "use strict"; | ||
this.R = []; | ||
t.forEach((t => this.pushBack(t))); | ||
const s = this; | ||
t.forEach((function(t) { | ||
s.pushBack(t); | ||
})); | ||
} | ||
@@ -102,0 +105,0 @@ this.size = this.size.bind(this); |
@@ -43,12 +43,12 @@ var extendStatics = function(t, r) { | ||
} | ||
function step(s) { | ||
function step(a) { | ||
if (e) throw new TypeError("Generator is already executing."); | ||
while (n) try { | ||
if (e = 1, i && (o = s[0] & 2 ? i["return"] : s[0] ? i["throw"] || ((o = i["return"]) && o.call(i), | ||
0) : i.next) && !(o = o.call(i, s[1])).done) return o; | ||
if (i = 0, o) s = [ s[0] & 2, o.value ]; | ||
switch (s[0]) { | ||
while (s && (s = 0, a[0] && (n = 0)), n) try { | ||
if (e = 1, i && (o = a[0] & 2 ? i["return"] : a[0] ? i["throw"] || ((o = i["return"]) && o.call(i), | ||
0) : i.next) && !(o = o.call(i, a[1])).done) return o; | ||
if (i = 0, o) a = [ a[0] & 2, o.value ]; | ||
switch (a[0]) { | ||
case 0: | ||
case 1: | ||
o = s; | ||
o = a; | ||
break; | ||
@@ -59,3 +59,3 @@ | ||
return { | ||
value: s[1], | ||
value: a[1], | ||
done: false | ||
@@ -66,8 +66,8 @@ }; | ||
n.label++; | ||
i = s[1]; | ||
s = [ 0 ]; | ||
i = a[1]; | ||
a = [ 0 ]; | ||
continue; | ||
case 7: | ||
s = n.ops.pop(); | ||
a = n.ops.pop(); | ||
n.trys.pop(); | ||
@@ -77,13 +77,13 @@ continue; | ||
default: | ||
if (!(o = n.trys, o = o.length > 0 && o[o.length - 1]) && (s[0] === 6 || s[0] === 2)) { | ||
if (!(o = n.trys, o = o.length > 0 && o[o.length - 1]) && (a[0] === 6 || a[0] === 2)) { | ||
n = 0; | ||
continue; | ||
} | ||
if (s[0] === 3 && (!o || s[1] > o[0] && s[1] < o[3])) { | ||
n.label = s[1]; | ||
if (a[0] === 3 && (!o || a[1] > o[0] && a[1] < o[3])) { | ||
n.label = a[1]; | ||
break; | ||
} | ||
if (s[0] === 6 && n.label < o[1]) { | ||
if (a[0] === 6 && n.label < o[1]) { | ||
n.label = o[1]; | ||
o = s; | ||
o = a; | ||
break; | ||
@@ -93,3 +93,3 @@ } | ||
n.label = o[2]; | ||
n.ops.push(s); | ||
n.ops.push(a); | ||
break; | ||
@@ -101,5 +101,5 @@ } | ||
} | ||
s = r.call(t, n); | ||
a = r.call(t, n); | ||
} catch (t) { | ||
s = [ 6, t ]; | ||
a = [ 6, t ]; | ||
i = 0; | ||
@@ -109,5 +109,5 @@ } finally { | ||
} | ||
if (s[0] & 5) throw s[1]; | ||
if (a[0] & 5) throw a[1]; | ||
return { | ||
value: s[0] ? s[1] : void 0, | ||
value: a[0] ? a[1] : void 0, | ||
done: true | ||
@@ -291,4 +291,5 @@ }; | ||
e.l = []; | ||
var i = e; | ||
r.forEach((function(t) { | ||
return e.pushBack(t); | ||
i.pushBack(t); | ||
})); | ||
@@ -295,0 +296,0 @@ } |
/*! | ||
* @js-sdsl/vector v4.2.0-beta.0 | ||
* @js-sdsl/vector v4.2.0-beta.1 | ||
* https://github.com/js-sdsl/js-sdsl | ||
@@ -76,3 +76,3 @@ * (c) 2021-present ZLY201 <zilongyao1366@gmail.com> | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -335,4 +335,5 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
_this._vector = []; | ||
container.forEach(function (element) { | ||
return _this.pushBack(element); | ||
var self_1 = _this; | ||
container.forEach(function (el) { | ||
self_1.pushBack(el); | ||
}); | ||
@@ -339,0 +340,0 @@ } |
/*! | ||
* @js-sdsl/vector v4.2.0-beta.0 | ||
* @js-sdsl/vector v4.2.0-beta.1 | ||
* https://github.com/js-sdsl/js-sdsl | ||
@@ -7,3 +7,3 @@ * (c) 2021-present ZLY201 <zilongyao1366@gmail.com> | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).sdsl={})}(this,function(t){"use strict";var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};function e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function n(r,i){var o,s,l,h={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]},t={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(n){return function(t){var e=[n,t];if(o)throw new TypeError("Generator is already executing.");for(;h;)try{if(o=1,s&&(l=2&e[0]?s.return:e[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,e[1])).done)return l;switch(s=0,(e=l?[2&e[0],l.value]:e)[0]){case 0:case 1:l=e;break;case 4:return h.label++,{value:e[1],done:!1};case 5:h.label++,s=e[1],e=[0];continue;case 7:e=h.ops.pop(),h.trys.pop();continue;default:if(!(l=0<(l=h.trys).length&&l[l.length-1])&&(6===e[0]||2===e[0])){h=0;continue}if(3===e[0]&&(!l||e[1]>l[0]&&e[1]<l[3]))h.label=e[1];else if(6===e[0]&&h.label<l[1])h.label=l[1],l=e;else{if(!(l&&h.label<l[2])){l[2]&&h.ops.pop(),h.trys.pop();continue}h.label=l[2],h.ops.push(e)}}e=i.call(r,h)}catch(t){e=[6,t],s=0}finally{o=l=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}}}function i(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function o(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||((r=r||Array.prototype.slice.call(e,0,i))[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function s(t){this.iteratorType=t=void 0===t?0:t}function l(){this.t=0}l.prototype.size=function(){return this.t},l.prototype.empty=function(){return 0===this.t};e(a,h=l);var h,u=a;function a(){return null!==h&&h.apply(this,arguments)||this}e(f,c=u);var c,u=f;function f(){return null!==c&&c.apply(this,arguments)||this}e(d,p=s),Object.defineProperty(d.prototype,"pointer",{get:function(){if(this.i<0||this.i>this.o()-1)throw new RangeError;return this.u(this.i)},set:function(t){if(this.i<0||this.i>this.o()-1)throw new RangeError;this.h(this.i,t)},enumerable:!1,configurable:!0}),d.prototype.equals=function(t){return this.i===t.i};var p,y=d;function d(t,e,n,r,i){i=p.call(this,i)||this;return i.i=t,i.o=e,i.u=n,i.h=r,0===i.iteratorType?(i.pre=function(){if(0===this.i)throw new RangeError("Random iterator access denied!");return--this.i,this},i.next=function(){if(this.i===this.o())throw new RangeError("Random Iterator access denied!");return this.i+=1,this}):(i.pre=function(){if(this.i===this.o()-1)throw new RangeError("Random iterator access denied!");return this.i+=1,this},i.next=function(){if(-1===this.i)throw new RangeError("Random iterator access denied!");return--this.i,this}),i}e(g,w=y),g.prototype.copy=function(){return new g(this.i,this.o,this.u,this.h,this.iteratorType)};var w,b=g;function g(){return null!==w&&w.apply(this,arguments)||this}e(v,m=u),v.prototype.clear=function(){this.t=0,this.l.length=0},v.prototype.begin=function(){return new b(0,this.size,this.getElementByPos,this.setElementByPos)},v.prototype.end=function(){return new b(this.t,this.size,this.getElementByPos,this.setElementByPos)},v.prototype.rBegin=function(){return new b(this.t-1,this.size,this.getElementByPos,this.setElementByPos,1)},v.prototype.rEnd=function(){return new b(-1,this.size,this.getElementByPos,this.setElementByPos,1)},v.prototype.front=function(){return this.l[0]},v.prototype.back=function(){return this.l[this.t-1]},v.prototype.forEach=function(t){for(var e=0;e<this.t;++e)t(this.l[e],e,this)},v.prototype.getElementByPos=function(t){if(t<0||t>this.t-1)throw new RangeError;return this.l[t]},v.prototype.eraseElementByPos=function(t){if(t<0||t>this.t-1)throw new RangeError;this.l.splice(t,1),--this.t},v.prototype.eraseElementByValue=function(t){for(var e=0,n=0;n<this.t;++n)this.l[n]!==t&&(this.l[e++]=this.l[n]);this.t=this.l.length=e},v.prototype.eraseElementByIterator=function(t){var e=t.i;return t=t.next(),this.eraseElementByPos(e),t},v.prototype.pushBack=function(t){this.l.push(t),this.t+=1},v.prototype.popBack=function(){this.t&&(this.l.pop(),--this.t)},v.prototype.setElementByPos=function(t,e){if(t<0||t>this.t-1)throw new RangeError;this.l[t]=e},v.prototype.insert=function(t,e,n){var r;if(void 0===n&&(n=1),t<0||t>this.t)throw new RangeError;(r=this.l).splice.apply(r,o([t,0],i(new Array(n).fill(e)),!1)),this.t+=n},v.prototype.find=function(t){for(var e=0;e<this.t;++e)if(this.l[e]===t)return new b(e,this.size,this.getElementByPos,this.getElementByPos);return this.end()},v.prototype.reverse=function(){this.l.reverse()},v.prototype.unique=function(){for(var t=1,e=1;e<this.t;++e)this.l[e]!==this.l[e-1]&&(this.l[t++]=this.l[e]);this.t=this.l.length=t},v.prototype.sort=function(t){this.l.sort(t)},v.prototype[Symbol.iterator]=function(){return function(){return n(this,function(t){switch(t.label){case 0:return[5,function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&r>=t.length?void 0:t)&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(this.l)];case 1:return[2,t.sent()]}})}.bind(this)()};var m,y=v;function v(t,e){void 0===t&&(t=[]),void 0===e&&(e=!0);var n=m.call(this)||this;return Array.isArray(t)?(n.l=e?o([],i(t),!1):t,n.t=t.length):(n.l=[],t.forEach(function(t){return n.pushBack(t)})),n.size=n.size.bind(n),n.getElementByPos=n.getElementByPos.bind(n),n.setElementByPos=n.setElementByPos.bind(n),n}t.Vector=y,Object.defineProperty(t,"_",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).sdsl={})}(this,function(t){"use strict";var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};function e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function n(r,i){var o,s,l,h={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]},u={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function t(n){return function(t){var e=[n,t];if(o)throw new TypeError("Generator is already executing.");for(;h=u&&e[u=0]?0:h;)try{if(o=1,s&&(l=2&e[0]?s.return:e[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,e[1])).done)return l;switch(s=0,(e=l?[2&e[0],l.value]:e)[0]){case 0:case 1:l=e;break;case 4:return h.label++,{value:e[1],done:!1};case 5:h.label++,s=e[1],e=[0];continue;case 7:e=h.ops.pop(),h.trys.pop();continue;default:if(!(l=0<(l=h.trys).length&&l[l.length-1])&&(6===e[0]||2===e[0])){h=0;continue}if(3===e[0]&&(!l||e[1]>l[0]&&e[1]<l[3]))h.label=e[1];else if(6===e[0]&&h.label<l[1])h.label=l[1],l=e;else{if(!(l&&h.label<l[2])){l[2]&&h.ops.pop(),h.trys.pop();continue}h.label=l[2],h.ops.push(e)}}e=i.call(r,h)}catch(t){e=[6,t],s=0}finally{o=l=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}}}function i(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function o(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||((r=r||Array.prototype.slice.call(e,0,i))[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function s(t){this.iteratorType=t=void 0===t?0:t}function l(){this.t=0}l.prototype.size=function(){return this.t},l.prototype.empty=function(){return 0===this.t};e(a,h=l);var h,u=a;function a(){return null!==h&&h.apply(this,arguments)||this}e(f,c=u);var c,u=f;function f(){return null!==c&&c.apply(this,arguments)||this}e(d,p=s),Object.defineProperty(d.prototype,"pointer",{get:function(){if(this.i<0||this.i>this.o()-1)throw new RangeError;return this.u(this.i)},set:function(t){if(this.i<0||this.i>this.o()-1)throw new RangeError;this.h(this.i,t)},enumerable:!1,configurable:!0}),d.prototype.equals=function(t){return this.i===t.i};var p,y=d;function d(t,e,n,r,i){i=p.call(this,i)||this;return i.i=t,i.o=e,i.u=n,i.h=r,0===i.iteratorType?(i.pre=function(){if(0===this.i)throw new RangeError("Random iterator access denied!");return--this.i,this},i.next=function(){if(this.i===this.o())throw new RangeError("Random Iterator access denied!");return this.i+=1,this}):(i.pre=function(){if(this.i===this.o()-1)throw new RangeError("Random iterator access denied!");return this.i+=1,this},i.next=function(){if(-1===this.i)throw new RangeError("Random iterator access denied!");return--this.i,this}),i}e(g,w=y),g.prototype.copy=function(){return new g(this.i,this.o,this.u,this.h,this.iteratorType)};var w,b=g;function g(){return null!==w&&w.apply(this,arguments)||this}e(v,m=u),v.prototype.clear=function(){this.t=0,this.l.length=0},v.prototype.begin=function(){return new b(0,this.size,this.getElementByPos,this.setElementByPos)},v.prototype.end=function(){return new b(this.t,this.size,this.getElementByPos,this.setElementByPos)},v.prototype.rBegin=function(){return new b(this.t-1,this.size,this.getElementByPos,this.setElementByPos,1)},v.prototype.rEnd=function(){return new b(-1,this.size,this.getElementByPos,this.setElementByPos,1)},v.prototype.front=function(){return this.l[0]},v.prototype.back=function(){return this.l[this.t-1]},v.prototype.forEach=function(t){for(var e=0;e<this.t;++e)t(this.l[e],e,this)},v.prototype.getElementByPos=function(t){if(t<0||t>this.t-1)throw new RangeError;return this.l[t]},v.prototype.eraseElementByPos=function(t){if(t<0||t>this.t-1)throw new RangeError;this.l.splice(t,1),--this.t},v.prototype.eraseElementByValue=function(t){for(var e=0,n=0;n<this.t;++n)this.l[n]!==t&&(this.l[e++]=this.l[n]);this.t=this.l.length=e},v.prototype.eraseElementByIterator=function(t){var e=t.i;return t=t.next(),this.eraseElementByPos(e),t},v.prototype.pushBack=function(t){this.l.push(t),this.t+=1},v.prototype.popBack=function(){this.t&&(this.l.pop(),--this.t)},v.prototype.setElementByPos=function(t,e){if(t<0||t>this.t-1)throw new RangeError;this.l[t]=e},v.prototype.insert=function(t,e,n){var r;if(void 0===n&&(n=1),t<0||t>this.t)throw new RangeError;(r=this.l).splice.apply(r,o([t,0],i(new Array(n).fill(e)),!1)),this.t+=n},v.prototype.find=function(t){for(var e=0;e<this.t;++e)if(this.l[e]===t)return new b(e,this.size,this.getElementByPos,this.getElementByPos);return this.end()},v.prototype.reverse=function(){this.l.reverse()},v.prototype.unique=function(){for(var t=1,e=1;e<this.t;++e)this.l[e]!==this.l[e-1]&&(this.l[t++]=this.l[e]);this.t=this.l.length=t},v.prototype.sort=function(t){this.l.sort(t)},v.prototype[Symbol.iterator]=function(){return function(){return n(this,function(t){switch(t.label){case 0:return[5,function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&r>=t.length?void 0:t)&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(this.l)];case 1:return[2,t.sent()]}})}.bind(this)()};var m,y=v;function v(t,e){void 0===t&&(t=[]),void 0===e&&(e=!0);var n,r=m.call(this)||this;return Array.isArray(t)?(r.l=e?o([],i(t),!1):t,r.t=t.length):(r.l=[],n=r,t.forEach(function(t){n.pushBack(t)})),r.size=r.size.bind(r),r.getElementByPos=r.getElementByPos.bind(r),r.setElementByPos=r.setElementByPos.bind(r),r}t.Vector=y,Object.defineProperty(t,"_",{value:!0})}); | ||
//# sourceMappingURL=vector.min.js.map |
{ | ||
"name": "@js-sdsl/vector", | ||
"version": "4.2.0-beta.0", | ||
"version": "4.2.0-beta.1", | ||
"description": "javascript standard data structure library which benchmark against C++ STL", | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/esm/index.d.ts", | ||
"author": { | ||
@@ -13,3 +14,7 @@ "name": "ZLY201", | ||
"sideEffects": false, | ||
"homepage": "https://js-sdsl.github.io", | ||
"homepage": "https://js-sdsl.org", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/js-sdsl" | ||
}, | ||
"lint-staged": { | ||
@@ -49,6 +54,7 @@ "*.{js,ts}": [ | ||
"conventional-changelog-conventionalcommits": "^5.0.0", | ||
"crypto": "^1.0.1", | ||
"delete-empty": "^3.0.0", | ||
"eslint": "^8.23.1", | ||
"eslint-import-resolver-typescript": "^3.5.2", | ||
"eslint-plugin-compat": "^4.0.2", | ||
"eslint-plugin-import": "^2.26.0", | ||
"get-npm-package-version": "^1.1.1", | ||
@@ -55,0 +61,0 @@ "gh-pages": "^3.2.3", |
118
README.md
<p align="center"> | ||
<a href="https://js-sdsl.github.io/" target="_blank" rel="noopener noreferrer"> | ||
<img src="https://js-sdsl.github.io/assets/logo-removebg.png" alt="js-sdsl logo" width="120" /> | ||
<a href="https://js-sdsl.org/" target="_blank" rel="noopener noreferrer"> | ||
<img src="https://js-sdsl.org/assets/logo-removebg.png" alt="js-sdsl logo" width="120" /> | ||
</a> | ||
@@ -30,11 +30,11 @@ </p> | ||
- **LinkList** - linked list of non-contiguous memory addresses. | ||
- **Deque** - double-ended-queue, O(1) time complexity to inserting elements front and back or getting elements by index. | ||
- **Deque** - double-ended-queue, O(1) time complexity to `unshift` or getting elements by index. | ||
- **OrderedSet** - sorted set which implemented by red black tree. | ||
- **OrderedMap** - sorted map which implemented by red black tree. | ||
- **HashSet** - refer to the hash set implemented by java. | ||
- **HashMap** - refer to the hash map implemented by java. | ||
- **HashSet** - refer to the [polyfill of ES6 Set](https://github.com/rousan/collections-es6). | ||
- **HashMap** - refer to the [polyfill of ES6 Map](https://github.com/rousan/collections-es6). | ||
## ⚔️ Benchmark | ||
We are benchmarking against other popular data structure libraries. In some ways we're better than the best library. See [benchmark](https://js-sdsl.github.io/#/test/benchmark-analyze). | ||
We are benchmarking against other popular data structure libraries. In some ways we're better than the best library. See [benchmark](https://js-sdsl.org/#/test/benchmark-analyze). | ||
@@ -95,28 +95,28 @@ ## 🖥 Supported platforms | ||
| package | npm | install | | ||
|-----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------| | ||
| [@js-sdsl/stack](https://js-sdsl.github.io/js-sdsl/classes/Stack.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/stack)](https://www.npmjs.com/package/@js-sdsl/stack) | `npm i @js-sdsl/stack` | | ||
| [@js-sdsl/queue](https://js-sdsl.github.io/js-sdsl/classes/Queue.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/queue)](https://www.npmjs.com/package/@js-sdsl/queue) | `npm i @js-sdsl/queue` | | ||
| [@js-sdsl/priority-queue](https://js-sdsl.github.io/js-sdsl/classes/PriorityQueue.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/priority-queue)](https://www.npmjs.com/package/@js-sdsl/priority-queue) | `npm i @js-sdsl/priority-queue` | | ||
| [@js-sdsl/vector](https://js-sdsl.github.io/js-sdsl/classes/Vector.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/vector)](https://www.npmjs.com/package/@js-sdsl/vector) | `npm i @js-sdsl/vector` | | ||
| [@js-sdsl/link-list](https://js-sdsl.github.io/js-sdsl/classes/LinkList.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/link-list)](https://www.npmjs.com/package/@js-sdsl/link-list) | `npm i @js-sdsl/link-list` | | ||
| [@js-sdsl/deque](https://js-sdsl.github.io/js-sdsl/classes/Deque.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/deque)](https://www.npmjs.com/package/@js-sdsl/deque) | `npm i @js-sdsl/deque` | | ||
| [@js-sdsl/ordered-set](https://js-sdsl.github.io/js-sdsl/classes/OrderedSet.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/ordered-set)](https://www.npmjs.com/package/@js-sdsl/ordered-set) | `npm i @js-sdsl/ordered-set` | | ||
| [@js-sdsl/ordered-map](https://js-sdsl.github.io/js-sdsl/classes/OrderedMap.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/ordered-map)](https://www.npmjs.com/package/@js-sdsl/ordered-map) | `npm i @js-sdsl/ordered-map` | | ||
| [@js-sdsl/hash-set](https://js-sdsl.github.io/js-sdsl/classes/HashSet.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/hash-set)](https://www.npmjs.com/package/@js-sdsl/hash-set) | `npm i @js-sdsl/hash-set` | | ||
| [@js-sdsl/hash-map](https://js-sdsl.github.io/js-sdsl/classes/HashMap.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/hash-map)](https://www.npmjs.com/package/@js-sdsl/hash-map) | `npm i @js-sdsl/hash-map` | | ||
| package | npm | size | docs | | ||
|---------------------------------------------------|-----------------------------------------------------------------------|------------------------------------------------------------------|-----------------------------| | ||
| [@js-sdsl/stack][stack-package] | [![NPM Package][stack-npm-version]][stack-npm-link] | [![GZIP Size][stack-umd-size]][stack-umd-link] | [link][stack-docs] | | ||
| [@js-sdsl/queue][queue-package] | [![NPM Package][queue-npm-version]][queue-npm-link] | [![GZIP Size][queue-umd-size]][queue-umd-link] | [link][queue-docs] | | ||
| [@js-sdsl/priority-queue][priority-queue-package] | [![NPM Package][priority-queue-npm-version]][priority-queue-npm-link] | [![GZIP Size][priority-queue-umd-size]][priority-queue-umd-link] | [link][priority-queue-docs] | | ||
| [@js-sdsl/vector][vector-package] | [![NPM Package][vector-npm-version]][vector-npm-link] | [![GZIP Size][vector-umd-size]][vector-umd-link] | [link][vector-docs] | | ||
| [@js-sdsl/link-list][link-list-package] | [![NPM Package][link-list-npm-version]][link-list-npm-link] | [![GZIP Size][link-list-umd-size]][link-list-umd-link] | [link][link-list-docs] | | ||
| [@js-sdsl/deque][deque-package] | [![NPM Package][deque-npm-version]][deque-npm-link] | [![GZIP Size][deque-umd-size]][deque-umd-link] | [link][deque-docs] | | ||
| [@js-sdsl/ordered-set][ordered-set-package] | [![NPM Package][ordered-set-npm-version]][ordered-set-npm-link] | [![GZIP Size][ordered-set-umd-size]][ordered-set-umd-link] | [link][ordered-set-docs] | | ||
| [@js-sdsl/ordered-map][ordered-map-package] | [![NPM Package][ordered-map-npm-version]][ordered-map-npm-link] | [![GZIP Size][ordered-map-umd-size]][ordered-map-umd-link] | [link][ordered-map-docs] | | ||
| [@js-sdsl/hash-set][hash-set-package] | [![NPM Package][hash-set-npm-version]][hash-set-npm-link] | [![GZIP Size][hash-set-umd-size]][hash-set-umd-link] | [link][hash-set-docs] | | ||
| [@js-sdsl/hash-map][hash-map-package] | [![NPM Package][hash-map-npm-version]][hash-map-npm-link] | [![GZIP Size][hash-map-umd-size]][hash-map-umd-link] | [link][hash-map-docs] | | ||
## 🪒 Usage | ||
You can visit our [official website](https://js-sdsl.github.io/) to get more information. | ||
You can visit our [official website](https://js-sdsl.org/) to get more information. | ||
To help you have a better use, we also provide this [API document](https://js-sdsl.github.io/js-sdsl/index.html). | ||
To help you have a better use, we also provide this [API document](https://js-sdsl.org/js-sdsl/index.html). | ||
For previous versions of the documentation, please visit: | ||
`https://js-sdsl.github.io/js-sdsl/previous/v${version}/index.html` | ||
`https://js-sdsl.org/js-sdsl/previous/v${version}/index.html` | ||
E.g. | ||
[https://js-sdsl.github.io/js-sdsl/previous/v4.1.5/index.html](https://js-sdsl.github.io/js-sdsl/previous/v4.1.5/index.html) | ||
[https://js-sdsl.org/js-sdsl/previous/v4.1.5/index.html](https://js-sdsl.org/js-sdsl/previous/v4.1.5/index.html) | ||
@@ -168,3 +168,3 @@ ### For browser | ||
You can also visit [here](https://js-sdsl.github.io/#/test/performance-test) to get the result. | ||
You can also visit [here](https://js-sdsl.org/#/test/performance-test) to get the result. | ||
@@ -219,3 +219,3 @@ ## ⌨️ Development | ||
<a href="https://eslint.org/"><img src="https://js-sdsl.github.io/assets/sponsors/eslint-logo-color.png" alt="eslint logo" width="150"></a> | ||
<a href="https://eslint.org/"><img src="https://js-sdsl.org/assets/sponsors/eslint-logo-color.png" alt="eslint logo" width="150"></a> | ||
@@ -231,1 +231,71 @@ Thanks also give to these sponsors or backers: | ||
[MIT](https://github.com/js-sdsl/js-sdsl/blob/main/LICENSE) © [ZLY201](https://github.com/zly201) | ||
[stack-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/OtherContainer/Stack.ts | ||
[stack-npm-version]: https://img.shields.io/npm/v/@js-sdsl/stack | ||
[stack-npm-link]: https://www.npmjs.com/package/@js-sdsl/stack | ||
[stack-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/stack/dist/umd/stack.min.js?compression=gzip&style=flat-square/ | ||
[stack-umd-link]: https://unpkg.com/@js-sdsl/stack/dist/umd/stack.min.js | ||
[stack-docs]: https://js-sdsl.org/js-sdsl/classes/Stack.html | ||
[queue-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/OtherContainer/Queue.ts | ||
[queue-npm-version]: https://img.shields.io/npm/v/@js-sdsl/queue | ||
[queue-npm-link]: https://www.npmjs.com/package/@js-sdsl/queue | ||
[queue-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/queue/dist/umd/queue.min.js?compression=gzip&style=flat-square/ | ||
[queue-umd-link]: https://unpkg.com/@js-sdsl/queue/dist/umd/queue.min.js | ||
[queue-docs]: https://js-sdsl.org/js-sdsl/classes/Queue.html | ||
[priority-queue-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/OtherContainer/PriorityQueue.ts | ||
[priority-queue-npm-version]: https://img.shields.io/npm/v/@js-sdsl/priority-queue | ||
[priority-queue-npm-link]: https://www.npmjs.com/package/@js-sdsl/priority-queue | ||
[priority-queue-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/priority-queue/dist/umd/priority-queue.min.js?compression=gzip&style=flat-square/ | ||
[priority-queue-umd-link]: https://unpkg.com/@js-sdsl/priority-queue/dist/umd/priority-queue.min.js | ||
[priority-queue-docs]: https://js-sdsl.org/js-sdsl/classes/PriorityQueue.html | ||
[vector-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/SequentialContainer/Vector.ts | ||
[vector-npm-version]: https://img.shields.io/npm/v/@js-sdsl/vector | ||
[vector-npm-link]: https://www.npmjs.com/package/@js-sdsl/vector | ||
[vector-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/vector/dist/umd/vector.min.js?compression=gzip&style=flat-square/ | ||
[vector-umd-link]: https://unpkg.com/@js-sdsl/vector/dist/umd/vector.min.js | ||
[vector-docs]: https://js-sdsl.org/js-sdsl/classes/Vector.html | ||
[link-list-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/SequentialContainer/LinkList.ts | ||
[link-list-npm-version]: https://img.shields.io/npm/v/@js-sdsl/link-list | ||
[link-list-npm-link]: https://www.npmjs.com/package/@js-sdsl/link-list | ||
[link-list-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/link-list/dist/umd/link-list.min.js?compression=gzip&style=flat-square/ | ||
[link-list-umd-link]: https://unpkg.com/@js-sdsl/link-list/dist/umd/link-list.min.js | ||
[link-list-docs]: https://js-sdsl.org/js-sdsl/classes/LinkList.html | ||
[deque-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/SequentialContainer/Deque.ts | ||
[deque-npm-version]: https://img.shields.io/npm/v/@js-sdsl/deque | ||
[deque-npm-link]: https://www.npmjs.com/package/@js-sdsl/deque | ||
[deque-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/deque/dist/umd/deque.min.js?compression=gzip&style=flat-square/ | ||
[deque-umd-link]: https://unpkg.com/@js-sdsl/deque/dist/umd/deque.min.js | ||
[deque-docs]: https://js-sdsl.org/js-sdsl/classes/Deque.html | ||
[ordered-set-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/TreeContainer/OrderedSet.ts | ||
[ordered-set-npm-version]: https://img.shields.io/npm/v/@js-sdsl/ordered-set | ||
[ordered-set-npm-link]: https://www.npmjs.com/package/@js-sdsl/ordered-set | ||
[ordered-set-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/ordered-set/dist/umd/ordered-set.min.js?compression=gzip&style=flat-square/ | ||
[ordered-set-umd-link]: https://unpkg.com/@js-sdsl/ordered-set/dist/umd/ordered-set.min.js | ||
[ordered-set-docs]: https://js-sdsl.org/js-sdsl/classes/OrderedSet.html | ||
[ordered-map-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/TreeContainer/OrderedMap.ts | ||
[ordered-map-npm-version]: https://img.shields.io/npm/v/@js-sdsl/ordered-map | ||
[ordered-map-npm-link]: https://www.npmjs.com/package/@js-sdsl/ordered-map | ||
[ordered-map-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/ordered-map/dist/umd/ordered-map.min.js?compression=gzip&style=flat-square/ | ||
[ordered-map-umd-link]: https://unpkg.com/@js-sdsl/ordered-map/dist/umd/ordered-map.min.js | ||
[ordered-map-docs]: https://js-sdsl.org/js-sdsl/classes/OrderedMap.html | ||
[hash-set-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/HashContainer/HashSet.ts | ||
[hash-set-npm-version]: https://img.shields.io/npm/v/@js-sdsl/hash-set | ||
[hash-set-npm-link]: https://www.npmjs.com/package/@js-sdsl/hash-set | ||
[hash-set-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/hash-set/dist/umd/hash-set.min.js?compression=gzip&style=flat-square/ | ||
[hash-set-umd-link]: https://unpkg.com/@js-sdsl/hash-set/dist/umd/hash-set.min.js | ||
[hash-set-docs]: https://js-sdsl.org/js-sdsl/classes/HashSet.html | ||
[hash-map-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/HashContainer/HashMap.ts | ||
[hash-map-npm-version]: https://img.shields.io/npm/v/@js-sdsl/hash-map | ||
[hash-map-npm-link]: https://www.npmjs.com/package/@js-sdsl/hash-map | ||
[hash-map-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/hash-map/dist/umd/hash-map.min.js?compression=gzip&style=flat-square/ | ||
[hash-map-umd-link]: https://unpkg.com/@js-sdsl/hash-map/dist/umd/hash-map.min.js | ||
[hash-map-docs]: https://js-sdsl.org/js-sdsl/classes/HashMap.html |
<p align="center"> | ||
<a href="https://js-sdsl.github.io/" target="_blank" rel="noopener noreferrer"> | ||
<img src="https://js-sdsl.github.io/assets/logo-removebg.png" alt="js-sdsl logo" width="120" /> | ||
<a href="https://js-sdsl.org/" target="_blank" rel="noopener noreferrer"> | ||
<img src="https://js-sdsl.org/assets/logo-removebg.png" alt="js-sdsl logo" width="120" /> | ||
</a> | ||
@@ -30,7 +30,7 @@ </p> | ||
- **LinkList** - 非连续内存地址的链表 | ||
- **Deque** - 双端队列,向前和向后插入元素或按索引获取元素的 O(1) 时间复杂度 | ||
- **Deque** - 双端队列,向前和向后插入元素或按索引获取元素的时间复杂度为 O(1) | ||
- **OrderedSet** - 由红黑树实现的排序集合 | ||
- **OrderedMap** - 由红黑树实现的排序字典 | ||
- **HashSet** - 参考 java 实现的哈希集合 | ||
- **HashMap** - 参考 java 实现的哈希字典 | ||
- **HashSet** - 参考 [ES6 Set polyfill](https://github.com/rousan/collections-es6) 实现的哈希集合 | ||
- **HashMap** - 参考 [ES6 Set polyfill](https://github.com/rousan/collections-es6) 实现的哈希字典 | ||
@@ -41,3 +41,3 @@ ## ⚔️ 基准测试 | ||
查看 [benchmark](https://js-sdsl.github.io/#/zh-cn/test/benchmark-analyze) 以获取更多信息 | ||
查看 [benchmark](https://js-sdsl.org/#/zh-cn/test/benchmark-analyze) 以获取更多信息 | ||
@@ -98,28 +98,28 @@ ## 🖥 支持的平台 | ||
| package | npm | install | | ||
|-----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------| | ||
| [@js-sdsl/stack](https://js-sdsl.github.io/js-sdsl/classes/Stack.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/stack)](https://www.npmjs.com/package/@js-sdsl/stack) | `npm i @js-sdsl/stack` | | ||
| [@js-sdsl/queue](https://js-sdsl.github.io/js-sdsl/classes/Queue.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/queue)](https://www.npmjs.com/package/@js-sdsl/queue) | `npm i @js-sdsl/queue` | | ||
| [@js-sdsl/priority-queue](https://js-sdsl.github.io/js-sdsl/classes/PriorityQueue.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/priority-queue)](https://www.npmjs.com/package/@js-sdsl/priority-queue) | `npm i @js-sdsl/priority-queue` | | ||
| [@js-sdsl/vector](https://js-sdsl.github.io/js-sdsl/classes/Vector.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/vector)](https://www.npmjs.com/package/@js-sdsl/vector) | `npm i @js-sdsl/vector` | | ||
| [@js-sdsl/link-list](https://js-sdsl.github.io/js-sdsl/classes/LinkList.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/link-list)](https://www.npmjs.com/package/@js-sdsl/link-list) | `npm i @js-sdsl/link-list` | | ||
| [@js-sdsl/deque](https://js-sdsl.github.io/js-sdsl/classes/Deque.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/deque)](https://www.npmjs.com/package/@js-sdsl/deque) | `npm i @js-sdsl/deque` | | ||
| [@js-sdsl/ordered-set](https://js-sdsl.github.io/js-sdsl/classes/OrderedSet.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/ordered-set)](https://www.npmjs.com/package/@js-sdsl/ordered-set) | `npm i @js-sdsl/ordered-set` | | ||
| [@js-sdsl/ordered-map](https://js-sdsl.github.io/js-sdsl/classes/OrderedMap.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/ordered-map)](https://www.npmjs.com/package/@js-sdsl/ordered-map) | `npm i @js-sdsl/ordered-map` | | ||
| [@js-sdsl/hash-set](https://js-sdsl.github.io/js-sdsl/classes/HashSet.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/hash-set)](https://www.npmjs.com/package/@js-sdsl/hash-set) | `npm i @js-sdsl/hash-set` | | ||
| [@js-sdsl/hash-map](https://js-sdsl.github.io/js-sdsl/classes/HashMap.html) | [![NPM Package](https://img.shields.io/npm/v/@js-sdsl/hash-map)](https://www.npmjs.com/package/@js-sdsl/hash-map) | `npm i @js-sdsl/hash-map` | | ||
| package | npm | size | docs | | ||
|---------------------------------------------------|-----------------------------------------------------------------------|------------------------------------------------------------------|-----------------------------| | ||
| [@js-sdsl/stack][stack-package] | [![NPM Package][stack-npm-version]][stack-npm-link] | [![GZIP Size][stack-umd-size]][stack-umd-link] | [link][stack-docs] | | ||
| [@js-sdsl/queue][queue-package] | [![NPM Package][queue-npm-version]][queue-npm-link] | [![GZIP Size][queue-umd-size]][queue-umd-link] | [link][queue-docs] | | ||
| [@js-sdsl/priority-queue][priority-queue-package] | [![NPM Package][priority-queue-npm-version]][priority-queue-npm-link] | [![GZIP Size][priority-queue-umd-size]][priority-queue-umd-link] | [link][priority-queue-docs] | | ||
| [@js-sdsl/vector][vector-package] | [![NPM Package][vector-npm-version]][vector-npm-link] | [![GZIP Size][vector-umd-size]][vector-umd-link] | [link][vector-docs] | | ||
| [@js-sdsl/link-list][link-list-package] | [![NPM Package][link-list-npm-version]][link-list-npm-link] | [![GZIP Size][link-list-umd-size]][link-list-umd-link] | [link][link-list-docs] | | ||
| [@js-sdsl/deque][deque-package] | [![NPM Package][deque-npm-version]][deque-npm-link] | [![GZIP Size][deque-umd-size]][deque-umd-link] | [link][deque-docs] | | ||
| [@js-sdsl/ordered-set][ordered-set-package] | [![NPM Package][ordered-set-npm-version]][ordered-set-npm-link] | [![GZIP Size][ordered-set-umd-size]][ordered-set-umd-link] | [link][ordered-set-docs] | | ||
| [@js-sdsl/ordered-map][ordered-map-package] | [![NPM Package][ordered-map-npm-version]][ordered-map-npm-link] | [![GZIP Size][ordered-map-umd-size]][ordered-map-umd-link] | [link][ordered-map-docs] | | ||
| [@js-sdsl/hash-set][hash-set-package] | [![NPM Package][hash-set-npm-version]][hash-set-npm-link] | [![GZIP Size][hash-set-umd-size]][hash-set-umd-link] | [link][hash-set-docs] | | ||
| [@js-sdsl/hash-map][hash-map-package] | [![NPM Package][hash-map-npm-version]][hash-map-npm-link] | [![GZIP Size][hash-map-umd-size]][hash-map-umd-link] | [link][hash-map-docs] | | ||
## 🪒 使用说明 | ||
您可以[访问我们的主页](https://js-sdsl.github.io/)获取更多信息 | ||
您可以[访问我们的主页](https://js-sdsl.org/)获取更多信息 | ||
并且我们提供了完整的 [API 文档](https://js-sdsl.github.io/js-sdsl/index.html)供您参考 | ||
并且我们提供了完整的 [API 文档](https://js-sdsl.org/js-sdsl/index.html)供您参考 | ||
想要查看从前版本的文档,请访问: | ||
`https://js-sdsl.github.io/js-sdsl/previous/v${version}/index.html` | ||
`https://js-sdsl.org/js-sdsl/previous/v${version}/index.html` | ||
例如: | ||
[https://js-sdsl.github.io/js-sdsl/previous/v4.1.5/index.html](https://js-sdsl.github.io/js-sdsl/previous/v4.1.5/index.html) | ||
[https://js-sdsl.org/js-sdsl/previous/v4.1.5/index.html](https://js-sdsl.org/js-sdsl/previous/v4.1.5/index.html) | ||
@@ -171,3 +171,3 @@ ### 在浏览器中使用 | ||
您也可以访问[我们的网站](https://js-sdsl.github.io/#/zh-cn/test/performance-test)来获取结果 | ||
您也可以访问[我们的网站](https://js-sdsl.org/#/zh-cn/test/performance-test)来获取结果 | ||
@@ -222,3 +222,3 @@ ## ⌨️ 开发 | ||
<a href="https://eslint.org/"><img src="https://js-sdsl.github.io/assets/sponsors/eslint-logo-color.png" alt="eslint logo" width="150"></a> | ||
<a href="https://eslint.org/"><img src="https://js-sdsl.org/assets/sponsors/eslint-logo-color.png" alt="eslint logo" width="150"></a> | ||
@@ -234,1 +234,71 @@ 同样感谢这些赞助商和支持者们: | ||
[MIT](https://github.com/js-sdsl/js-sdsl/blob/main/LICENSE) © [ZLY201](https://github.com/zly201) | ||
[stack-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/OtherContainer/Stack.ts | ||
[stack-npm-version]: https://img.shields.io/npm/v/@js-sdsl/stack | ||
[stack-npm-link]: https://www.npmjs.com/package/@js-sdsl/stack | ||
[stack-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/stack/dist/umd/stack.min.js?compression=gzip&style=flat-square/ | ||
[stack-umd-link]: https://unpkg.com/@js-sdsl/stack/dist/umd/stack.min.js | ||
[stack-docs]: https://js-sdsl.org/js-sdsl/classes/Stack.html | ||
[queue-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/OtherContainer/Queue.ts | ||
[queue-npm-version]: https://img.shields.io/npm/v/@js-sdsl/queue | ||
[queue-npm-link]: https://www.npmjs.com/package/@js-sdsl/queue | ||
[queue-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/queue/dist/umd/queue.min.js?compression=gzip&style=flat-square/ | ||
[queue-umd-link]: https://unpkg.com/@js-sdsl/queue/dist/umd/queue.min.js | ||
[queue-docs]: https://js-sdsl.org/js-sdsl/classes/Queue.html | ||
[priority-queue-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/OtherContainer/PriorityQueue.ts | ||
[priority-queue-npm-version]: https://img.shields.io/npm/v/@js-sdsl/priority-queue | ||
[priority-queue-npm-link]: https://www.npmjs.com/package/@js-sdsl/priority-queue | ||
[priority-queue-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/priority-queue/dist/umd/priority-queue.min.js?compression=gzip&style=flat-square/ | ||
[priority-queue-umd-link]: https://unpkg.com/@js-sdsl/priority-queue/dist/umd/priority-queue.min.js | ||
[priority-queue-docs]: https://js-sdsl.org/js-sdsl/classes/PriorityQueue.html | ||
[vector-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/SequentialContainer/Vector.ts | ||
[vector-npm-version]: https://img.shields.io/npm/v/@js-sdsl/vector | ||
[vector-npm-link]: https://www.npmjs.com/package/@js-sdsl/vector | ||
[vector-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/vector/dist/umd/vector.min.js?compression=gzip&style=flat-square/ | ||
[vector-umd-link]: https://unpkg.com/@js-sdsl/vector/dist/umd/vector.min.js | ||
[vector-docs]: https://js-sdsl.org/js-sdsl/classes/Vector.html | ||
[link-list-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/SequentialContainer/LinkList.ts | ||
[link-list-npm-version]: https://img.shields.io/npm/v/@js-sdsl/link-list | ||
[link-list-npm-link]: https://www.npmjs.com/package/@js-sdsl/link-list | ||
[link-list-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/link-list/dist/umd/link-list.min.js?compression=gzip&style=flat-square/ | ||
[link-list-umd-link]: https://unpkg.com/@js-sdsl/link-list/dist/umd/link-list.min.js | ||
[link-list-docs]: https://js-sdsl.org/js-sdsl/classes/LinkList.html | ||
[deque-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/SequentialContainer/Deque.ts | ||
[deque-npm-version]: https://img.shields.io/npm/v/@js-sdsl/deque | ||
[deque-npm-link]: https://www.npmjs.com/package/@js-sdsl/deque | ||
[deque-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/deque/dist/umd/deque.min.js?compression=gzip&style=flat-square/ | ||
[deque-umd-link]: https://unpkg.com/@js-sdsl/deque/dist/umd/deque.min.js | ||
[deque-docs]: https://js-sdsl.org/js-sdsl/classes/Deque.html | ||
[ordered-set-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/TreeContainer/OrderedSet.ts | ||
[ordered-set-npm-version]: https://img.shields.io/npm/v/@js-sdsl/ordered-set | ||
[ordered-set-npm-link]: https://www.npmjs.com/package/@js-sdsl/ordered-set | ||
[ordered-set-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/ordered-set/dist/umd/ordered-set.min.js?compression=gzip&style=flat-square/ | ||
[ordered-set-umd-link]: https://unpkg.com/@js-sdsl/ordered-set/dist/umd/ordered-set.min.js | ||
[ordered-set-docs]: https://js-sdsl.org/js-sdsl/classes/OrderedSet.html | ||
[ordered-map-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/TreeContainer/OrderedMap.ts | ||
[ordered-map-npm-version]: https://img.shields.io/npm/v/@js-sdsl/ordered-map | ||
[ordered-map-npm-link]: https://www.npmjs.com/package/@js-sdsl/ordered-map | ||
[ordered-map-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/ordered-map/dist/umd/ordered-map.min.js?compression=gzip&style=flat-square/ | ||
[ordered-map-umd-link]: https://unpkg.com/@js-sdsl/ordered-map/dist/umd/ordered-map.min.js | ||
[ordered-map-docs]: https://js-sdsl.org/js-sdsl/classes/OrderedMap.html | ||
[hash-set-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/HashContainer/HashSet.ts | ||
[hash-set-npm-version]: https://img.shields.io/npm/v/@js-sdsl/hash-set | ||
[hash-set-npm-link]: https://www.npmjs.com/package/@js-sdsl/hash-set | ||
[hash-set-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/hash-set/dist/umd/hash-set.min.js?compression=gzip&style=flat-square/ | ||
[hash-set-umd-link]: https://unpkg.com/@js-sdsl/hash-set/dist/umd/hash-set.min.js | ||
[hash-set-docs]: https://js-sdsl.org/js-sdsl/classes/HashSet.html | ||
[hash-map-package]: https://github.com/js-sdsl/js-sdsl/blob/main/src/container/HashContainer/HashMap.ts | ||
[hash-map-npm-version]: https://img.shields.io/npm/v/@js-sdsl/hash-map | ||
[hash-map-npm-link]: https://www.npmjs.com/package/@js-sdsl/hash-map | ||
[hash-map-umd-size]: https://img.badgesize.io/https://unpkg.com/@js-sdsl/hash-map/dist/umd/hash-map.min.js?compression=gzip&style=flat-square/ | ||
[hash-map-umd-link]: https://unpkg.com/@js-sdsl/hash-map/dist/umd/hash-map.min.js | ||
[hash-map-docs]: https://js-sdsl.org/js-sdsl/classes/HashMap.html |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
192105
14
1656
297
0
73