vatis-project / vatis

Virtual Automated ATIS Generator for VATSIM
https://docs.vatis.clowd.io
GNU General Public License v3.0
36 stars 17 forks source link

Improve Composite Load Times #69

Closed collink2451 closed 2 years ago

collink2451 commented 2 years ago

GetSystemDriveVolumeId is being called every time you create a new Connection object. This value should remain unchanged during runtime and calling it for multiple composites resulted in significant loading times with a large number of composites.

I can't think of a reason why you would need to generate this value multiple times so caching is seems like the right thing to do.