Python Forum
Does the integer implementation matter?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does the integer implementation matter?
#1
Some integers are stored in a table, so two variables assigned to integers might have the same address, or they might have different addresses. This comes up periodically on these forums, most recently here.

I don't care why this happens.

My question is: does it matter? I think I have been programming Python for 17 years now, and never have the details of the integer implementation mattered to any of my programs. Has it ever mattered to any of your code? Can someone post a code snippet where it did matter?
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Does the integer implementation matter? - by ichabod801 - Oct-21-2019, 09:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Exercises -- Who does them? Do they matter? pav1983 5 2,384 Jun-02-2020, 09:32 PM
Last Post: pav1983
  About integer objects vs integer values Nwb 18 8,022 Apr-29-2019, 07:41 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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