Skip to content

impliment iroot and friends for native julia. Much faster for native types - #25

Merged
oscardssmith merged 2 commits into
mainfrom
os/native-iroot-and-friends
Jul 12, 2026
Merged

impliment iroot and friends for native julia. Much faster for native types#25
oscardssmith merged 2 commits into
mainfrom
os/native-iroot-and-friends

Conversation

@oscardssmith

Copy link
Copy Markdown
Member
FunctionTypeBefore (ns)After (ns)Speedup
iroot(x, 3)Int32127.113.99.2×
iroot(x, 7)Int3297.814.76.6×
rootrem(x, 3)Int3291.715.55.9×
ispower (non-power)Int3298.351.81.9×
ispower (perfect power)Int32137.650.72.7×
find_exponent (non-power)Int322186.4112.619.4×
find_exponent (perfect power)Int32898.864.613.9×
iroot(x, 3)Int64163.713.811.9×
iroot(x, 7)Int64111.614.77.6×
rootrem(x, 3)Int64124.715.97.9×
ispower (non-power)Int64102.496.11.1×
ispower (perfect power)Int64165.324.06.9×
find_exponent (non-power)Int645859.7219.026.8×
find_exponent (perfect power)Int642639.6113.723.2×
iroot(x, 3)Int128210.437.85.6×
iroot(x, 7)Int128186.038.24.9×
rootrem(x, 3)Int128178.540.44.4×
ispower (non-power)Int128116.3151.60.8×
ispower (perfect power)Int128212.49.422.6×
find_exponent (non-power)Int12815540.0432.036.0×
find_exponent (perfect power)Int1286262.0174.835.8×

@codecov

codecovBot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@edff333). Learn more about missing BASE report.

Additional details and impacted files
@@ Coverage Diff @@## main #25 +/- ##
=======================================
Coverage ? 95.36% =======================================
Files ? 1 Lines ? 151 Branches ? 0 =======================================
Hits ? 144 Misses ? 7 Partials ? 0 

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@oscardssmith
oscardssmith merged commit 22c0e7e into mainJul 12, 2026
8 checks passed
@oscardssmith
oscardssmith deleted the os/native-iroot-and-friends branch July 12, 2026 20:49
@oscardssmithoscardssmith mentioned this pull request Jul 24, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@oscardssmith