[EMAIL PROTECTED] wrote:
I would like to have functions that operate on long strings, 10-100 MB.
In C I would of course pass a pointer to the string for a quick
function call. What is an efficient way to do this in python?
Err, just pass the string to the function?
In Python, all function arguments are passed by (object)reference.
So if you are afraid that Python passes your 50Mb string object
/by value/ (thus creating a copy): it doesn't.
--Irmen
--
http://mail.python.org/mailman/listinfo/python-list