<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Maintain ordering when doing speculative loads"
href="https://bugs.webkit.org/show_bug.cgi?id=167324#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Maintain ordering when doing speculative loads"
href="https://bugs.webkit.org/show_bug.cgi?id=167324">bug 167324</a>
from <span class="vcard"><a class="email" href="mailto:darin@apple.com" title="Darin Adler <darin@apple.com>"> <span class="fn">Darin Adler</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=299539&action=diff" name="attach_299539" title="patch">attachment 299539</a> <a href="attachment.cgi?id=299539&action=edit" title="patch">[details]</a></span>
patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=299539&action=review">https://bugs.webkit.org/attachment.cgi?id=299539&action=review</a>
<span class="quote">>> Source/WebKit2/NetworkProcess/cache/NetworkCacheSubresourcesEntry.cpp:109
>> + Vector<SubresourceInfo> result;
>
> I think we should reserveInitialCapacity() and uncheckedAppend() since we know there will be at most subresourceLoads.size() items and the common case will be subresourceLoads.size() items.</span >
The patch landed with a call to reserveCapacity/append, but reserveInitialCapacity/uncheckedAppend are more efficient.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>