concrete
concrete copied to clipboard
Refactor generics code to acomodate future trait generics
Mainly changes the symbol resultion structs to improve usability and account for traits, since multiple methods with the same name may exist and may only be distinct by the trait they are implemented in.
This makes the code cleaner and more readable.
Benchmarking (Linux) factorial
Compiling factorial (factorial.con) Finished release in 33.440121ms Running 5000000 iterations Using input value: 20 Concrete Result = 2432902008176640000 Time taken : 97.32 ms Rust Result = 2432902008176640000 Time taken : 60.46 ms
Benchmarking (Linux) fib
Compiling fib (fib.con) Finished release in 26.401217ms Running 5000 iterations Using input value: 20 Concrete Result = 6765 Time taken : 136.70 ms Rust Result = 6765 Time taken : 85.66 ms
Benchmarking (macOS) factorial
Compiling factorial (factorial.con) Finished release in 981.648959ms Running 5000000 iterations Using input value: 20 Concrete Result = 2432902008176640000 Time taken : 31.97 ms Rust Result = 2432902008176640000 Time taken : 25.20 ms
Benchmarking (macOS) fib
Compiling fib (fib.con) Finished release in 192.611166ms Running 5000 iterations Using input value: 20 Concrete Result = 6765 Time taken : 120.48 ms Rust Result = 6765 Time taken : 115.29 ms
Codecov Report
Attention: Patch coverage is 84.31373% with 48 lines in your changes missing coverage. Please review.
Project coverage is 59.18%. Comparing base (
4802a28) to head (b0d4e8d).
Additional details and impacted files
@@ Coverage Diff @@
## main #228 +/- ##
==========================================
+ Coverage 56.29% 59.18% +2.89%
==========================================
Files 25 26 +1
Lines 5516 5892 +376
==========================================
+ Hits 3105 3487 +382
+ Misses 2411 2405 -6
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.