home/categories/database-tools/blockscout-blockscout-agents-skills-efficient-list-building-skill-md
database-toolsdatabases

efficient-list-building

Build lists efficiently using prepend operations and Enum.reverse/1 instead of append. Appending to lists is O(n) while prepending is O(1). Use [head | tail] notation and reverse at the end when order matters.

blockscout
maintainer
blockscout
Mis à jour 3/6/2026
Étoiles
4492
Forks
3032
quick start

Installation and usage

Build lists efficiently using prepend operations and Enum.reverse/1 instead of append. Appending to lists is O(n) while prepending is O(1). Use [head | tail] notation and reverse at the end when order matters.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use efficient-list-building