Replies: 2 comments 1 reply
-
Actually, this particular example is a poor one, as it looks like the affected code is the same in both branches. But the general question still stands -- I have some thoughts on other things that I'm pretty sure have actually been changed in |
Beta Was this translation helpful? Give feedback.
-
Good question! The At present
So I'd suggest any PRs would be best aimed at |
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm working on a project where I hope to continually rebuild the latest planet on a cheap Hetzner box, preferably the €30/mo 32GB CAX41 instance. The whole planet will never fit, but I'm hopeful that some number of partitions could, and then I'd stitch them together.
Towards this end, I'm exploring PRs to reduce Tilemaker memory usage. #568 was one example, and conveniently, a small patch in a part of the code that doesn't see active development.
Another straightforward one appears to be using
std::vector
instead ofstd::deque
in places where inserting at both ends isn't required. Per Daniel Lemire, deque has 2x the overhead of vector. Not a huge thing, but on a 32GB box, every byte counts.The candidates for this are in
osm_store
-- I'm wondering if I should make a PR against master, or against therefactor_geometries
branch?Beta Was this translation helpful? Give feedback.
All reactions