Skip to content

Commit

Permalink
CalculateAverage_gonix update (#706)
Browse files Browse the repository at this point in the history
Backported some of the optimizations from unsafe solution.

Co-authored-by: Giedrius D <[email protected]>
  • Loading branch information
gonix and Giedrius D authored Feb 1, 2024
1 parent fdd539e commit 1e7314d
Show file tree
Hide file tree
Showing 2 changed files with 312 additions and 201 deletions.
4 changes: 2 additions & 2 deletions calculate_average_gonix.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Copyright 2023 The original authors
#
Expand All @@ -17,4 +17,4 @@


JAVA_OPTS="--enable-preview"
java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_gonix
exec cat < <(exec java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_gonix)
Loading

0 comments on commit 1e7314d

Please sign in to comment.