python: Avoid unnecessary pointer object creations
Use ctypes.byref() instead of ctypes.pointer() in cases where we do not need the actual pointer object itself as it is much lighter.
Loading
Please sign in to comment
Use ctypes.byref() instead of ctypes.pointer() in cases where we do not need the actual pointer object itself as it is much lighter.