This is an archive of the discontinued LLVM Phabricator instance.

[NFC]add & to avoid copy
ClosedPublic

Authored by XinWang10 on Mar 29 2023, 2:01 AM.

Details

Summary

The elements in FragmentMap are big objects, use reference can get
better performance, as someone do in line 1912.

Diff Detail

Event Timeline

XinWang10 created this revision.Mar 29 2023, 2:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2023, 2:01 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
XinWang10 requested review of this revision.Mar 29 2023, 2:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2023, 2:01 AM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 30 2023, 10:44 PM
This revision was automatically updated to reflect the committed changes.