From 7f8493ce7874eaf8fa7109026fad5897dea67858 Mon Sep 17 00:00:00 2001 From: Gunnar Morling Date: Fri, 29 Dec 2023 10:24:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20README=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9b973368a..27227efb3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ The One Billion Row Challenge (1BRC) is a fun exploration of how far modern Java Grab all your (virtual) threads, reach out to SIMD, optimize your GC, or pull any other trick, and create the fastest implementation for solving this task! The text file contains temperature values for a range of weather stations. -Each row is one measurement in the format `;`. +Each row is one measurement in the format `;`. The following shows ten rows as an example: ``` @@ -20,7 +20,7 @@ Conakry;31.2 Istanbul;23.0 ``` -The task is to write a Java program which reads the file, calculates the average temperature value per weather station, and emits the result on stdout like this: +The task is to write a Java program which reads the file, calculates the average temperature value per weather station, and emits the result on stdout like this, sorted alphabetically by station name: ``` {Abha=18.0, Abidjan=26.0, Abéché=29.4, Accra=26.4, Addis Ababa=16.0, Adelaide=17.3, ...} @@ -84,6 +84,8 @@ The following rules and limits apply: If you want to use a build not available via these channels, reach out to discuss whether it can be considered. * No external library dependencies may be used * Implementations must be provided as a single source file +* The computation must happen at application _runtime_, i.e. you cannot process the measurements file at _build time_ +(for instance, when using GraalVM) and just bake the result into the binary ## Entering the Challenge