]> git.proxmox.com Git - proxmox-backup.git/commit
tools/systemd/tm_editor: remove TMChanges optimization
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 4 Sep 2020 12:33:24 +0000 (14:33 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Sep 2020 13:26:04 +0000 (15:26 +0200)
commit28a0a9343c7f06d5237d89ab9c4ecc274c32d5f1
tree64a12f5326ed7628c248ffa6c1a08f51003f0a0d
parent56b666458c2c658243121e9e24f0ec8a13e4c694
tools/systemd/tm_editor: remove TMChanges optimization

while it was correct, there was no measurable speed gain
(a benchmark yielded 2.8 ms for a spec that did not find a timestamp either way)
so remove it for simpler code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/tools/systemd/time.rs
src/tools/systemd/tm_editor.rs