Skip to content

Commit 6a539c3

Browse files
Adjust output precision in chunked buffering to improve performance and reduce memory usage
1 parent 4e19ddb commit 6a539c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subcommand/similarity_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ int main_similarity(int argc, char** argv) {
376376

377377
// Use chunked buffering to balance speed and memory usage
378378
std::ostringstream output_buffer;
379-
output_buffer << std::fixed << std::setprecision(8);
379+
output_buffer << std::fixed << std::setprecision(6);
380380
const size_t buffer_chunk_size = 100000; // Lines per chunk
381381
size_t lines_written = 0;
382382

0 commit comments

Comments
 (0)