Skip to content

Commit

Permalink
CalculateAverage_gonix update
Browse files Browse the repository at this point in the history
Backported some of the optimizations from unsafe solution.
  • Loading branch information
Giedrius D committed Jan 31, 2024
1 parent 7dcf707 commit 506153e
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 506153e

Please sign in to comment.