Christian Heimes wrote: > Pardon my ignorance but why does Python do reference counting for truly > global and static objects Because it would cost more time to check whether the reference counting needed to be done than to just do it anyway. Remember that *most* refcount operations are on non-global objects. Putting in a test would slow all of them down, but only speed a few of them up. -- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4