I'm trying to do a high speed memcpy in Python. I use the ctypes library which allows me to interact with C programms.
I follow this steps:
- I get the memory address
- I get the length of the data
- I use the ctypes' functions memmove or string_at
The results are correct but I need higher speed. Is there any faster way to do this without using C?
Thank you.