mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-24 21:06:02 +03:00
[PR #2768] [MERGED] Micro-optimize copies, compares, and logging #2778
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2778
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2768
Author: @gaul
Created: 12/4/2025
Status: ✅ Merged
Merged: 12/6/2025
Merged by: @ggtakec
Base:
master← Head:microopt📝 Commits (1)
85c887eMicro-optimize copies, compares, and logging📊 Changes
8 files changed (+67 additions, -82 deletions)
View changed files
📝
src/cache_node.cpp(+3 -3)📝
src/curl_util.cpp(+3 -3)📝
src/fdcache.cpp(+1 -1)📝
src/s3fs_logger.cpp(+29 -33)📝
src/s3fs_logger.h(+6 -2)📝
src/s3fs_util.cpp(+12 -26)📝
src/s3fs_util.h(+2 -4)📝
src/string_util.cpp(+11 -10)📄 Description
Logging should eagerly evaluate the log level to avoid unnecessary calls to parameters like calls to
STR_OBJTYPE. These contributed to slow Valgrind test run-times.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.