Changes between Initial Version and Version 1 of Ticket #1605, comment 3
- Timestamp:
- Jan 14, 2019, 11:31:51 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1605, comment 3
initial v1 1 That behavior was when Atom/Residues access was through ctypes, and the pointer reference occurred in Python code. Those classes are now implemented in Cython and the pointer access occurs in compiled code. I could put ipointer checks into the Cython code so that incorrect user maintenance of Python data produces a traceback instead of crashes/corruption, at an unknown cost in performance.1 That behavior was when Atom/Residues access was through ctypes, and the pointer reference occurred in Python code. Those classes are now implemented in Cython and the pointer access occurs in compiled code. I could put pointer checks into the Cython code so that incorrect user maintenance of Python data produces a traceback instead of crashes/corruption, at an unknown cost in performance. 2 2 3 3 So: maybe. It would require evaluation.