Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

thanks  RSS feed

 
John Summers
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for that.
I knew == worked on memory locations, but I thought the way it did it was to use the memory location as a hashcode, then compare the hashcodes. guess i'm wrong.
j
 
John Summers
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whoops!
i meant to post it as a reply in my Thread "string == and hashcode" but clicked the wrong button.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!