Commit Graph
35 Commits
Author SHA1 Message Date
adrien 0dd9e02f59 Added abs, pow and product operations 2026-04-22 14:50:21 +02:00
adrien c4e462add3 Added dot and cross function for Vector 2026-04-22 12:32:10 +02:00
adrien 4c910319d5 Added comparison operation to Scalar and Vector 2026-04-22 12:26:17 +02:00
adrien 86841318f2 Added some doc comments 2026-04-22 10:58:14 +02:00
adrien ec05b60fc3 Replaced Scales.min to helper.finerScales 2026-04-22 10:31:04 +02:00
adrien 49b56bda91 Added int nanometer example in README 2026-04-22 01:20:09 +02:00
adrien 76c69448de Fixed benchmark with removed scale 2026-04-22 01:14:38 +02:00
adrien cb3c41cf4c Better README 2026-04-22 01:07:06 +02:00
adrien 5f42a8c107 Added Dimless to Base 2026-04-22 01:06:52 +02:00
adrien 1719b0de8b Removed scale (just use mulBy + dimless) + added inline to vector fn 2026-04-22 01:05:33 +02:00
adrien 84d0698878 Removed ztracy dep 2026-04-22 00:31:37 +02:00
adrien 11a741f72c Removed useless code 2026-04-22 00:19:07 +02:00
adrien cc39c1a6f4 Same for all bench, nbo more sink 2026-04-22 00:17:58 +02:00
adrien d96a1ac4bc Replaced a sing with std.mem.doNotOptimizeAway 2026-04-22 00:12:38 +02:00
adrien fb922e3d5c Added tracy as dependencie 2026-04-22 00:00:18 +02:00
adrien 1fd86a5807 Moved benchmarks into a seperate file and exe 2026-04-21 23:52:13 +02:00
adrien a518a86fb2 Changed from using format to formatNumber in Scalar and Vector to use precision, fill, width, ect 2026-04-21 22:21:19 +02:00
adrien 8a22788a2e Renamed a test 2026-04-21 19:41:02 +02:00
adrien b9647e0426 Updated build.zig to expose a module 2026-04-21 19:32:59 +02:00
adrien cb51afe79c Update zig name 2026-04-21 19:28:32 +02:00
adrien 732bf11005 Update zig.zon 2026-04-21 19:27:10 +02:00
adrien 46380a95da Renamed Quantity to Scalar and QuantityVec to Vector 2026-04-21 19:18:45 +02:00
adrien aa46cef978 Deleted tmp file 2026-04-21 18:36:31 +02:00
adrien 01c5b50b95 Added cross type overhead benchmark 2026-04-21 18:36:23 +02:00
adrien bbab41008f Passed some Scales stuff to comptime 2026-04-21 18:18:12 +02:00
adrien aa09054c4d Added fast path to mulBy too 2026-04-21 18:16:37 +02:00
adrien b02665fe89 Prevent convertion if unecessary at comptime for Quantity operations 2026-04-21 17:55:33 +02:00
adrien a16bbedbd8 Changed Quantity fn to be inline 2026-04-21 17:49:53 +02:00
adrien 7b038dd2a5 Added some explicit comptime to Quantity 2026-04-21 17:41:37 +02:00
adrien 998404d82a Switched EVERYTHING in Scales and Dimensions to comptime 2026-04-21 17:31:22 +02:00
adrien 305d113752 Basic README 2026-04-21 00:37:23 +02:00
adrien b0e06bf4cf Added test runner and better table print in benchmark 2026-04-21 00:07:12 +02:00
adrien eb02b3eb96 Changed add ans sub to prevent losing info 2026-04-20 23:56:26 +02:00
adrien b3cee0588f First implementation 2026-04-20 23:38:49 +02:00
adrien fbadb6ce06 first commit 2026-04-20 23:37:43 +02:00