>> To implement such a system, you need to get all ABI dependencies out
>> of the header files; this includes the structure layouts in particular.
> 
> That could hurt the performance of some things. Macros
> like PyList_GET_ITEM etc. rely on knowing about struct
> layouts to get at things quickly.

OTOH, they are discouraged for use outside the core already.
Use PyList_GetItem, and you won't notice the difference.

Regards,
Martin

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to