sapling/eden
Xavier Deguillard 4f9bfb66fc inodes: avoid unecessary shared_ptr copies
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
2021-10-06 17:18:25 -07:00
..
fs inodes: avoid unecessary shared_ptr copies 2021-10-06 17:18:25 -07:00
hg-server Make RNG in 'arbitrary' calls more correct 2021-10-06 09:39:23 -07:00
integration disable test_mount_state_during_unmount_with_in_progress_checkout on eden-asic-build-and-test 2021-10-01 14:07:24 -07:00
locale
mononoke Make RNG in 'arbitrary' calls more correct 2021-10-06 09:39:23 -07:00
scm edenapi: add retries for hash<->location endpoints 2021-10-06 17:14:04 -07:00
test_support test_support: canonicalize the temporary directory path 2021-08-16 16:08:45 -07:00
test-data fix fsck snapshot integration tests 2021-07-14 16:20:04 -07:00
.gitignore
Eden.project.toml