[Webkit-unassigned] [Bug 10765] Windows build busted due to std::copy usage in Vector.h

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Sep 7 15:36:38 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10765


morlmor at yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10437|review?                     |
               Flag|                            |
  Attachment #10437|0                           |1
        is obsolete|                            |
  Attachment #10444|                            |review?
               Flag|                            |




------- Comment #3 from morlmor at yahoo.com  2006-09-07 15:36 PDT -------
Created an attachment (id=10444)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=10444&action=view)
alternatve patch: no pragmas

This patch solves the problem a different way.  It just avoids std::copy
altogether.  Note: for basic types that support memcpy, this is probably better
since it replaces a for-loop + memcpy with a single memcpy.  For more complex
types, it means an extra pass over the array, which might hurt locality of
reference, so perhaps that's reason to poo-poo this patch :-/


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list