forked from organicmaps/organicmaps-tmp
Size of TileInfo changed.
This commit is contained in:
parent
1d08ec2bd3
commit
18cf2af65b
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ struct FeatureInfo
|
|||
bool m_isOwner;
|
||||
};
|
||||
|
||||
size_t const AverageFeaturesCount = 2048;
|
||||
// It is better for TileInfo to have size that is equal or slightly less
|
||||
// than several memory pages.
|
||||
size_t const AverageFeaturesCount = 2040;
|
||||
using TFeaturesInfo = buffer_vector<FeatureInfo, AverageFeaturesCount>;
|
||||
|
||||
class MemoryFeatureIndex : private noncopyable
|
||||
|
|
Loading…
Add table
Reference in a new issue