diff --git a/README.md b/README.md index df4b23e..29ddcb4 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ These are the results from running all entries into the challenge on eight cores | | 01:08.908 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_itaske.java)| 21.0.1-open | [itaske](https://github.com/itaske) | | | | 01:09.882 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_rprabhu.java)| 21.0.1-open | [Prabhu R](https://github.com/rprabhu) | | | | 01:14.815 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_anandmattikopp.java)| 21.0.1-open | [twohardthings](https://github.com/anandmattikopp) | | +| | 01:33.594 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_gnmathur.java)| 21.0.1-open | [Gaurav Mathur](https://github.com/gnmathur) | | | | 01:56.607 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_abfrmblr.java)| 21.0.1-open | [Abhilash](https://github.com/abfrmblr) | | | | 03:43.521 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_yehwankim23.java)| 21.0.1-open | [김예환 Ye-Hwan Kim (Sam)](https://github.com/yehwankim23) | | | | 03:59.760 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_fragmede.java)| 21.0.1-open | [Samson](https://github.com/fragmede) | | diff --git a/calculate_average_gnmathur.sh b/calculate_average_gnmathur.sh index 2949bcd..4788711 100755 --- a/calculate_average_gnmathur.sh +++ b/calculate_average_gnmathur.sh @@ -17,4 +17,4 @@ JAVA_OPTS="" -time java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_gnmathur +java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_gnmathur diff --git a/github_users.txt b/github_users.txt index dfe15ee..5bfc5dc 100644 --- a/github_users.txt +++ b/github_users.txt @@ -48,3 +48,4 @@ twobiers;Tobi yavuztas;Yavuz Tas yehwankim23;김예환 Ye-Hwan Kim (Sam) hundredwatt;Jason Nochlin +gnmathur;Gaurav Mathur diff --git a/src/main/java/dev/morling/onebrc/CalculateAverage_gnmathur.java b/src/main/java/dev/morling/onebrc/CalculateAverage_gnmathur.java index e2a3b72..683b905 100644 --- a/src/main/java/dev/morling/onebrc/CalculateAverage_gnmathur.java +++ b/src/main/java/dev/morling/onebrc/CalculateAverage_gnmathur.java @@ -1,3 +1,18 @@ +/* + * Copyright 2023 The original authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package dev.morling.onebrc; import java.io.IOException;