[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
Sat Sep 9 02:54:08 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=10765
ap at nypop.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ap at nypop.com
------- Comment #6 from ap at nypop.com 2006-09-09 02:54 PDT -------
In STL implementations that I'm familiar with (GCC, CodeWarrior), std::copy is
not simply a while loop. Its implementation is in fact heavily overloaded:
- memmove for built-in and POD types (using compiler-specific ways to detect
PODs);
- specialized algorithms for copying data in known containers (e.g., chunked
copy for deques in MSL);
- a for loop for random access iterators in GCC (helps the optimizer);
- a while loop otherwise.
To duplicate the behavior for PODs, we'd need to introduce quite a bit of
compiler-specific code.
--
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