with-user-cache ( quot -- )


Vocabulary
unix.users

Inputs
quota quotation


Outputs
None

Word description
Iterates over the password file using library calls and creates a cache in the user-cache symbol. The cache is a hashtable indexed by user id. When looking up many users, this approach is much faster than calling system calls.

Definition