Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
& vs %
#6
turns out, at least one architecture (IBM 370) is faster when using % than when using &.  i believe the CDC 7600 is the same way.  so, at least, when coding in C, it is probably better to use %.  in the case of Python, the interpreter could, in theory, understand what are doing, and do it the best way.  but that didn't seem to happen.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
& vs % - by Skaperen - Nov-29-2017, 03:40 AM
RE: & vs % - by buran - Nov-29-2017, 07:45 AM
RE: & vs % - by DeaD_EyE - Nov-29-2017, 08:14 AM
RE: & vs % - by Skaperen - Nov-29-2017, 08:27 AM
RE: & vs % - by wavic - Nov-29-2017, 09:37 PM
RE: & vs % - by Skaperen - Nov-30-2017, 01:53 AM
RE: & vs % - by wavic - Nov-30-2017, 02:25 AM
RE: & vs % - by Skaperen - Nov-30-2017, 03:04 AM

Forum Jump:

User Panel Messages

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