GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SoundBot/priorityQueue.js: Fast JavaScript priority queue :rocket:

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
priorityQueue.js
priorityQueue.js
 
 

Repository files navigation

##PriorityQueue.js Fast and easy-to-use priority queue. ##Usage

var pq = new PriorityQueue();
//add to queue
pq.push(4, task1);
pq.push(7, task2);
pq.push(2, task3);
//grab item from the top
var task = pq.pop(); //returns task2;
//check the top item without removing
var peak = pq.peak();

##License MIT

About

Fast JavaScript priority queue 🚀

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.