]> git.hungrycats.org Git - bees/commit
tempfile: don't need to update the inode if the flags don't change
authorZygo Blaxell <bees@furryterror.org>
Mon, 30 Jun 2025 03:32:40 +0000 (23:32 -0400)
committerZygo Blaxell <bees@furryterror.org>
Mon, 30 Jun 2025 03:34:10 +0000 (23:34 -0400)
commitd37f91650709b865329805170daefa8dd0078f91
treee74c7b5d04efff08af6bcdb54ebdedb8b23982ec
parent3a17a4dcdd8550a6e54f4c6e16272c7ce0f9eb14
tempfile: don't need to update the inode if the flags don't change

A small performance optimization, given that we are constantly clobbering
the file with new content.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees.cc