I used Bash associative arrays as a hash table/hashmap to massively speed up a shell script!

This page summarizes the projects mentioned and recommended in the original post on /r/bash

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • tritech-utils

    Discontinued Tritech Service System utility programs and scripts

  • I only need it to work in my use case. I already had the script. It's not worth the effort to recode in something else. I didn't need an advanced data structure per se, I just needed a cheap lookup table. This was definitely at the limits of what I'd try to do with a shell script, though. I have written special-purpose C code to replace a shell script's "hottest" area in the past. I just really didn't want to do anything like that with something that is not a required tool for my workflow.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • snippets

    Discontinued Little helpful pieces of code I wrote, then found lying around in the snippets storeroom behind the red door in the rainforest. (by jbruchon)

  • There is also the matter of processing the data after the "scores" are updated. I do two things: numeric sort -g (not often) or convert the per-file scores to per-directory scores with this script. If I were using SQLite, I'd end up dumping the DB to a text representation and parsing that anyway, or I'd have to write a complex query of some sort to get SQLite to produce the per-directory numbers for me, and I'm not 100% sure that it could be done in SQL alone; I'd probably want to store the data differently, and that adds yet more complexity.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Guia Completo: Instalando Elixir no Fedora/Linux 40

    2 projects | dev.to | 16 Jun 2024
  • What You Get After Running an SSH Honeypot for 30 Days

    4 projects | news.ycombinator.com | 15 Jun 2024
  • Installing Gentoo has been the hardest most rewarding experience with Linux

    1 project | news.ycombinator.com | 16 Jun 2024
  • Sans Bullshit Sans

    1 project | news.ycombinator.com | 15 Jun 2024
  • Install zsh-autocomplete on WSL2

    1 project | dev.to | 15 Jun 2024