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
Updated 3/6/2026
Stars
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
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use efficient-list-building