[Insight-developers] memcpy usage in itk and vtk
Bradley Lowekamp
blowekamp at mail.nih.gov
Wed Apr 10 10:04:18 EDT 2013
Bill,
I think that copy is required for generic programming like much of ITK.
But when you have a known type, I don't see any reason to look down on memcpy.
Brad
On Apr 9, 2013, at 5:02 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Kent says:
> "There are (before this patch) 88 calls to memcpy
> in the ITK source code."
>
> In VTK, there are 2076 uses of memcpy in 452 classes.. Perhaps the older sibling can learn from the younger.
>
> There are 34 uses of std::copy in vtk.
>
> Bill
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
More information about the Insight-developers
mailing list