https://github.com/caffeine-addictt/1brc

1 Billion Row Challenge in GO

https://github.com/caffeine-addictt/1brc

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.4%) to scientific vocabulary

Keywords

1brc 1brc-go go golang
Last synced: 6 months ago · JSON representation

Repository

1 Billion Row Challenge in GO

Basic Info
  • Host: GitHub
  • Owner: caffeine-addictt
  • Language: Java
  • Default Branch: main
  • Homepage:
  • Size: 952 KB
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
1brc 1brc-go go golang
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

1 Billion Row Challenge

Just me having some fun and giving this a Go.

Challenge

The text file contains temperature values for a range of weather stations. Each row is one measurement in the format <string: station name>;<double: measurement>, with the measurement value having exactly one fractional digit. The following shows ten rows as an example:

Hamburg;12.0 Bulawayo;8.9 Palembang;38.8 St. John's;15.2 Cracow;12.6 Bridgetown;26.9 Istanbul;6.2 Roseau;34.4 Conakry;31.2 Istanbul;23.0

The task is to write a Java program which reads the file, calculates the min, mean, and max temperature value per weather station, and emits the results on stdout like this (i.e. sorted alphabetically by station name, and the result values per station in the format <min>/<mean>/<max>, rounded to one fractional digit):

{Abha=-23.0/18.0/59.2, Abidjan=-16.2/26.0/67.3, Abéché=-10.0/29.4/69.0, Accra=-10.1/26.4/66.4, Addis Ababa=-23.7/16.0/67.0, Adelaide=-27.8/17.3/58.5, ...}

Owner

  • Name: Jun Xiang (カエデ)
  • Login: caffeine-addictt
  • Kind: user
  • Location: Singapore
  • Company: Hire me

Back-end Engineer | Offensive Security Enthusiast

GitHub Events

Total
Last Year