|
From: | Daniel J Sebald |
Subject: | Re: Using memcpy or memmove instead of for loop in liboctave/array/dim-vector.h |
Date: | Sat, 09 Nov 2013 00:47:32 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 11/08/2013 09:57 PM, PrasannaKumar Muralidharan wrote:
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?
Give it a try PrasannaKumar. Create a change-set file if it seems worth considering. Are you familiar with Mercurial?
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |