It works with map as well as with grep. Try it and see.
In reply to Re^3: Map function slowing down program by jwkrahn in thread Map function slowing down program by ashnator