mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
4f9bfb66fc
Summary: Passing shared_ptr by copy everywhere can be expensive as it forces an atomic operation to be performed. Since the caller of the glob code can easily guarantee that the data will outlive the globbing code, let's just pass references/pointers to it so that only references and pointers are copied. Reviewed By: genevievehelsel Differential Revision: D31344889 fbshipit-source-id: cee797202470aa123381d9ee22e11780722f5b33 |
||
---|---|---|
.. | ||
fs | ||
hg-server | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
.gitignore | ||
Eden.project.toml |