[C++-sig] Re: Optimize vector_indexing_suite set_slice

Neal D. Becker ndbecker2 at verizon.net
Thu Aug 19 21:27:59 CEST 2004

How does this patch look?

This attempts to optimize for the case in set_slice that the slice being
replaced is the same size as the replacement, in which case a simple copy
is performed rather than erase/insert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: *vc-diff*
Type: text/x-diff
Size: 863 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20040819/d4030fb3/attachment.diff>

More information about the Cplusplus-sig mailing list