Skip to content

Instantly share code, notes, and snippets.

View hthmkhlf's full-sized avatar
🐢

Haithem hthmkhlf

🐢
View GitHub Profile
@hthmkhlf
hthmkhlf / jq.md
Created March 19, 2025 17:44 — forked from jwbee/jq.md
Make Ubuntu packages 90% faster by rebuilding them

Make Ubuntu packages 90% faster by rebuilding them

TL;DR

You can take the same source code package that Ubuntu uses to build jq, compile it again, and realize 90% better performance.

Setting

I use jq for processing GeoJSON files and other open data offered in JSON format. Today I am working with a 500MB GeoJSON file that contains the Alameda County Assessor's parcel map. I want to run a query that prints the city for every parcel worth more than a threshold amount. The program is