Greasy Fork is available in English.

Denque-on-Greasy-Fork

(https://github.com/Salakar) Fast, well-tested double-ended queue implementation based on ring buffer

Dette scriptet burde ikke installeres direkte. Det er et bibliotek for andre script å inkludere med det nye metadirektivet // @require https://update.greasyfork.org/scripts/559642/1733950/Denque-on-Greasy-Fork.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Forfatter
JasonMel
Versjon
2.1.0h
Lagd
20.12.2025
Oppdatert
27.12.2025
Size
29,8 kB
Lisens
Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)

Denque er en godt testet, ekstremt rask og lett to-end køimplementering uten avhengigheter og inkluderer TypeScript-typer. Denne implementasjonen er for øyeblikket den raskeste som er tilgjengelig, til og med raskere enn double-ended-queue, se benchmarkene. Hver køoperasjon utføres med konstant O(1) - inkludert tilfeldig tilgang fra .peekAt(index).