Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pi modules and %timeit
#4
Thanks for the quick response. I like your format and I'll follow that.

There shouldn't be much difference, but it never hurts to check things.

For my computer, there seems to be about a 30 ns speed difference between math and numpy when using the x = "pi" code.
Reply


Messages In This Thread
Pi modules and %timeit - by RockBlok - Dec-09-2023, 04:12 PM
RE: Pi modules and %timeit - by Gribouillis - Dec-09-2023, 04:19 PM
RE: Pi modules and %timeit - by deanhystad - Dec-09-2023, 04:23 PM
RE: Pi modules and %timeit - by RockBlok - Dec-09-2023, 04:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Timeit module Miraclefruit 9 6,053 Jan-28-2018, 04:16 AM
Last Post: Miraclefruit

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020