mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r8694] Purpose:
Code optimization Description: Avoid memcpy() when setting up new chunk coordinates Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
This commit is contained in:
parent
7c18329abe
commit
2b81894af7
@ -2764,7 +2764,8 @@ H5D_create_chunk_file_map_hyper(fm_map *fm)
|
||||
new_chunk_info->mspace_shared=0;
|
||||
|
||||
/* Copy the chunk's coordinates */
|
||||
HDmemcpy(new_chunk_info->coords,coords,fm->f_ndims*sizeof(new_chunk_info->coords[0]));
|
||||
for(u=0; u<fm->f_ndims; u++)
|
||||
new_chunk_info->coords[u]=coords[u];
|
||||
new_chunk_info->coords[fm->f_ndims]=0;
|
||||
|
||||
/* Insert the new chunk into the TBBT tree */
|
||||
|
Loading…
Reference in New Issue
Block a user