FelixBaensch / MORTAR

MOlecule fRagmenTAtion fRamework
MIT License
18 stars 3 forks source link

Rework of HashMap initialisations #5

Closed JonasSchaub closed 1 year ago

JonasSchaub commented 1 year ago

Implemented routine to calculate a suitable initial HashMap size based on the number of elements to be stored and load factor; implemented its usage in all places in the MORTAR-own classes where new HashMaps are instantiated;