[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using memcpy or memmove instead of for loop in liboctave/array/dim-vecto
From: |
PrasannaKumar Muralidharan |
Subject: |
Using memcpy or memmove instead of for loop in liboctave/array/dim-vector.h |
Date: |
Sat, 9 Nov 2013 09:27:03 +0530 |
Hi Octave maintainers,
In liboctave/array/dim-vector.h clonerep and resizerep functions are
defined. They use for loop for copying data. Is it possible to use
memcpy or memmove instead? The mem* function may be faster than for
loop as its implementation can use SIMD instructions when possible.
Will it be useful or does it make sense?
Thanks and Regards,
PrasannaKumar
- Using memcpy or memmove instead of for loop in liboctave/array/dim-vector.h,
PrasannaKumar Muralidharan <=