A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/protocolbuffers/protobuf/commit/73f34695e6cd1124f4e64e9173e94866789691af below:

Add nontemporal software prefetcher to repeated ptr field dtor to imp… · protocolbuffers/protobuf@73f3469 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+3

-0

lines changed Original file line number Diff line number Diff line change

@@ -246,6 +246,9 @@ class PROTOBUF_EXPORT RepeatedPtrFieldBase {

246 246

ABSL_DCHECK_LE(n, Capacity());

247 247

void** elems = elements();

248 248

for (int i = 0; i < n; i++) {

249 +

if (i + 5 < n) {

250 +

absl::PrefetchToLocalCacheNta(elems[i + 5]);

251 +

}

249 252

Delete<H>(elems[i], nullptr);

250 253

}

251 254

if (!using_sso()) {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4