[PATCH 2/3] programs/cmd: Add a cache for the labels lookup.