💾 Archived View for station.martinrue.com › marginalia › 561a66f497f448c8b1073b1a82098a43 captured on 2023-04-26 at 14:53:02. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-03-20)

➡️ Next capture (2024-08-18)

-=-=-=-=-=-=-

👽 marginalia

Removed 2 characters of code and saved myself 600 Gb of disk-writes per day ¯\_(ツ)_/¯

2 years ago · 👍 cobradile94, skyjake, maria, figbert, digbat

Actions

👋 Join Station

2 Replies

👽 marginalia

@ser "*4" -- it turns out I accounted for the size of an integer in two places when calculating the buffer size for a file containing 20 million URL-IDs in my search engine index (a file that's written in 20 different versions every 6 hours). So that makes about 600 Gb worth of zeroes it was writing. The files were large for sure, but it's not *insanely* large by search engine standards so I never looked too closely at them until they ate half the disk they were assigned. · 2 years ago

👽 ser

Yeah, ok: I'm curious. What were the 2 chars? A frequency value? · 2 years ago