mirror of
https://github.com/minetest/minetest.git
synced 2025-07-06 01:40:21 +02:00
Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ServerMap::listAllLoadedBlocks and their database backends.
This adds a speedup on database migration and /clearobjects command
This commit is contained in:
@ -466,8 +466,8 @@ public:
|
||||
void endSave();
|
||||
|
||||
void save(ModifiedState save_level);
|
||||
void listAllLoadableBlocks(std::list<v3s16> &dst);
|
||||
void listAllLoadedBlocks(std::list<v3s16> &dst);
|
||||
void listAllLoadableBlocks(std::vector<v3s16> &dst);
|
||||
void listAllLoadedBlocks(std::vector<v3s16> &dst);
|
||||
// Saves map seed and possibly other stuff
|
||||
void saveMapMeta();
|
||||
void loadMapMeta();
|
||||
|
Reference in New Issue
Block a user