• + 1 comment

    It looks nice, but how about the performace? You are iterating the list of elements 4 times.