Brad,

I agree. I looked at a bunch of web discussions regarding the pros and
cons. Your comment seems to be the consensus.

Bill


On Wed, Apr 10, 2013 at 10:04 AM, Bradley Lowekamp
<[email protected]>wrote:

> 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 <[email protected]> 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
>
>


-- 
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

Reply via email to