Remove c-11 memcpy checks from perf-critical code
[vpp.git] / src / vppinfra / vec.c
index 1e0164a..232eb4d 100644 (file)
@@ -92,7 +92,7 @@ vec_resize_allocate_memory (void *v,
       ("vec_resize fails, length increment %d, data bytes %d, alignment %d",
        length_increment, data_bytes, data_align);
 
-  clib_memcpy (new, old, old_alloc_bytes);
+  clib_memcpy_fast (new, old, old_alloc_bytes);
   clib_mem_free (old);
 
   /* Allocator may give a bit of extra room. */