Ad
  • Custom User Avatar

    If includes is nested inside every that's O(n^2) and it's not fast enough with big arrays. Try using not nested loops.