This change simplifies the removal of dynamic spam samples. It creates a temporary file during sample removal, writes all entries except the one to remove to the new file, and then replaces the original file, instead of storing all samples in memory and writing them back.
This change simplifies the removal of dynamic spam samples. It creates a temporary file during sample removal, writes all entries except the one to remove to the new file, and then replaces the original file, instead of storing all samples in memory and writing them back.