Easy as { 1 2 3 }? (when { 1 2 3 } ≠ { 1 2 3 })
|
07-17-2018, 01:41 PM
Post: #19
|
|||
|
|||
RE: Easy as { 1 2 3 }?
(07-17-2018 01:06 PM)rprosperi Wrote:(07-17-2018 12:43 PM)Eddie W. Shore Wrote: Let me see if I understand this correctly: == also ignores tags, which can be useful at times. But the increased flexibility of == comes with a price: it is noticeably slower. So in cases where performance is an issue, it's better to use SAME if you know that the objects in question are compatible with its strictness. In my experience, the most common issue that comes up for compatibility is exact vs. approximate numbers. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)