Closed xoloki closed 1 year ago
Now that we have pow implemented via ^, it runs very slowly for powers >100. Do a proper square and multiply implementation to make it fast.
How are you profiling the execution? Have you run v2.rs through something like cachegrind?
v2.rs
Now that we have pow implemented via ^, it runs very slowly for powers >100. Do a proper square and multiply implementation to make it fast.