Amᵃᵖanda on Nostr: I am trying to store loads of OpenStreetMap node locations in memory. A simple ...
I am trying to store loads of OpenStreetMap node locations in memory. A simple `HashMap<i64, (f64, f64)>` works for small datasets, but fails for bigger files.
This is why I learned #Rust!
Published at
2023-09-05 20:58:21Event JSON
{
"id": "e8d24adce16804b49a43ae8597ba5f3637b874ce9c71236dbc8d83d92ffc9fa1",
"pubkey": "837c276240fd3bdbfc0db1091580750aa3c1d5212801549bd41af93c33cecdfa",
"created_at": 1693947501,
"kind": 1,
"tags": [
[
"t",
"rust"
],
[
"proxy",
"https://en.osm.town/users/amapanda/statuses/111014543467935613",
"activitypub"
]
],
"content": "I am trying to store loads of OpenStreetMap node locations in memory. A simple `HashMap\u003ci64, (f64, f64)\u003e` works for small datasets, but fails for bigger files. \n\nThis is why I learned #Rust!",
"sig": "5cee5af42a9e6f625154a530a9f2209b38c69426a43a287b1817a33c5d9637f3790625ae5125c4bf6a60f1bd9d6f1cb0963b746b3c5fa34e3b0b8af0c8d43921"
}