Files
pilotclient/src
Mathew Sutcliffe c8d78ada65 T73 Flyweight pattern based on pimpl, to reduce CMeasurementUnit memory usage.
* All members of CMeasurementUnit moved into nested pimpl class Data.
* CMeasurementUnit has only one member: a pointer to a const Data.
* Static const CMeasurementUnits replaced with static const Datas.
* Each CMeasurementUnit singleton method returns by-value a CMeasurementUnit containing a pointer to a static const Data.
* Means CMeasurementUnit is trivial to copy because we never copy the pimpl members.
** Works because the available units are fixed at compile time so we never need to create novel units at runtime.
2017-05-14 17:21:23 +01:00
..
2017-05-09 19:13:42 +02:00
2017-05-09 19:13:58 +02:00
2017-05-05 22:40:01 +01:00
2017-05-11 16:37:54 +01:00
2017-05-05 23:07:11 +01:00