Alright speed demons, I need to text process a list with 1.7 M items

As nobody actually posted a code example using maxdepth, I can’t tell if your attempted statement(s) is being interpreted, however, the function does very clearly limit traversal depth—not just returned values—if used properly. I have demonstrated this in previous posts.