memory and walk through it with RB_FOREACH. committing on behalf of ariane@ who wrote all the code, many thanks!