use priority queue to store tile updates

This commit is contained in:
evanpelle
2024-08-26 12:42:14 -07:00
parent 753893d59d
commit da6f0a89e7
5 changed files with 43 additions and 5 deletions
+16
View File
@@ -6,6 +6,7 @@
"": {
"name": "warfront-client",
"dependencies": {
"@datastructures-js/priority-queue": "^6.3.1",
"@types/express": "^4.17.21",
"@types/google-protobuf": "^3.15.12",
"@types/jimp": "^0.2.28",
@@ -2162,6 +2163,21 @@
"@jridgewell/sourcemap-codec": "^1.4.10"
}
},
"node_modules/@datastructures-js/heap": {
"version": "4.3.3",
"resolved": "https://registry.npmjs.org/@datastructures-js/heap/-/heap-4.3.3.tgz",
"integrity": "sha512-UcUu/DLh/aM4W3C8zZfwxxm6/6FIZUlm3mcAXuNOCa6Aj4iizNvNXQyb8DjZQH2jKSQbMRyNlngP6TPimuGjpQ==",
"license": "MIT"
},
"node_modules/@datastructures-js/priority-queue": {
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/@datastructures-js/priority-queue/-/priority-queue-6.3.1.tgz",
"integrity": "sha512-eoxkWql/j0VJ0UFMFTpnyJz4KbEEVQ6aZ/JuJUgenu0Im4tYKylAycNGsYCHGXiVNEd7OKGVwfx1Ac3oYkuu7A==",
"license": "MIT",
"dependencies": {
"@datastructures-js/heap": "^4.3.3"
}
},
"node_modules/@discoveryjs/json-ext": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz",