Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement OpenSet as a Priority Queue #6

Open
meiamsome opened this issue Jan 16, 2017 · 1 comment
Open

Implement OpenSet as a Priority Queue #6

meiamsome opened this issue Jan 16, 2017 · 1 comment

Comments

@meiamsome
Copy link
Member

In order to achieve the best performance, a priority queue should be used for OpenSet. ( O(1) lookup for finding the minimum and O(log(n)) for removing it)

As javascript has no built in priority queues, it would have to be implemented or externally included

(I would like to see Dan program and explain that!)

@shiffman
Copy link
Member

This is a great suggestion for a follow-up video potentially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants