diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-01-31 19:51:51 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-01-31 19:51:51 -0500 |
commit | a726c7128ab5c6fffeb6844f3d819ada0369e6a8 (patch) | |
tree | 49475d7f740fbd25153bbaa84ffeb17a0fae07d9 /src | |
parent | 8ecd1dc4a60e063251963305b98888236b8d9825 (diff) | |
download | bfs-a726c7128ab5c6fffeb6844f3d819ada0369e6a8.tar.xz |
opt: Charge eval_flags() for a stat() call
Diffstat (limited to 'src')
-rw-r--r-- | src/opt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1218,6 +1218,7 @@ static struct bfs_expr *annotate_visit(struct bfs_opt *opt, struct bfs_expr *exp {eval_acl, STAT_COST}, {eval_capable, STAT_COST}, {eval_empty, 2 * STAT_COST}, // readdir() is worse than stat() + {eval_flags, STAT_COST}, {eval_fls, PRINT_COST}, {eval_fprint, PRINT_COST}, {eval_fprint0, PRINT_COST}, |