osm2pgsql-dev / osm2pgsql

OpenStreetMap data to PostgreSQL converter
https://osm2pgsql.org
GNU General Public License v2.0
1.48k stars 473 forks source link

Refactor idlist #2151

Closed joto closed 5 months ago

joto commented 5 months ago

Refactor code that handles lists of ids. The old code used two datastructures, idlist_t which derives from the std::vector class and osmium::index::IdSetSmall<osmid_t>. The new code now only has one clean idlist_t class, which means there is less copying around of data.