librasteve / raku-Physics-Measure

do calculations on objects with value, units and error
Artistic License 2.0
11 stars 2 forks source link

Label UnitPostfix for use statement #17

Closed librasteve closed 3 years ago

librasteve commented 4 years ago

Apply labels for 8 base unit types: ":m, :s, :kg, :l ..." Apply labels for prefix: ":c, :d, :μ..." maybe bucket to ":tiny, :macro, :vast"

Right now with 81 combinations on (all prefixes / just :m, :kg, :s, :l) and 566 off compile time (ie. no precomp is 66sec), uncomment all and compile time is ~30 mins

Long term fix is macros (or faster raku)

librasteve commented 3 years ago

integrated into Physics::Measure