I'm now getting self conscious finding broken links in our readme lol. Yours all seem to work!
thanks for testing :-) please post links if you find more libraries like this
Sure thing. Are you doing anything special for equality?
no, in this library the quantities are value types, and it is similar to comparing a double
Gotcha, That is the only reason we didn't go with value types, It was a super tough problem to solve and I'm not super happy with the solution. But in our library the types can be dynamically changed to consider equality differently for each object
@objorke Great work with this library! I noticed above you were asking for links to alternative libraries, so I am going to be bold enough to mention my own project, CSUnits. I originally started developing it in 2011 as I was not really pleased with the way other C# libraries worked at the time. The project has been on hold for a few years, but a few weeks back I resumed development, partially inspired by your work, in particular the extensive use of T4 templates. I checked performance using your tests, and computation times seem to be on par with QuantityTypes (with a big exception for unit multiplication initialization, where the unit representation in CSUnits prevents it from being as a fast as QuantityTypes in that particular area.) Please go ahead and take a look at CSUnits if you like. Best regards, Anders @ Cureos