ii hidden gems
summary
Demos of underused Ruby libraries and exact wins: using NArray to replace nested arrays for a PPM image drops generation from ~1.3s to ~0.01s and implements Conway’s Game of Life via multi-dimensional slicing; loading IP-to-country data into SQLite3 gives simple queries ~0.33s and an in-memory load that falls from minutes to ~50s; switching to RBTree yields lookups under 1/1000s and a marshalled persistent tree; Rinda tuple spaces split an anagram search across four processes; FSDB stores time-series paths and helps Scout graphs go from ~4s to under 1s.
AI-written summary · about
chapters (7)
- 0:00Underappreciated Ruby libraries
- 4:30Ruby speed with NArray
- 13:07SQLite in-memory store
- 23:43Binary search with RBTree
- 28:20FSDB file system DB
- 35:51Interprocess communication with Rendezvous
- 41:56Q&A








