[CONJS-220] study Js-sdsl Deque in place of denque Created: 2022-09-20 Updated: 2023-01-12 Resolved: 2023-01-12 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | performance |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/209 connector make intense use of deque, using npm denque package. MIT license Js-sdsl Deque package might be a replacement, announcing 3x the performance of denque. So:
|
| Comments |
| Comment by Diego Dupin [ 2023-01-12 ] | ||||||||||||||||||||||||||||||||||||||||||
|
in our specific use-case, our benchmark performs better using denque: most of our use is push and shift and even if js-sdsl is faster in other things, denque performs better in this use-case
resulting in
so closing as won't do |