title: Python : Tkinter lag
body: <p>I have a question .
  I'm making a platformer game in tkinter and I have an issue :
  I have for now : player , blocks and coins .
  I'm updating the player's move and it's animation and the coin's animation and for some reason when I'm putting too much coins , the player's movement starts lagging. 
  Note: I'm using the after function of tkinter for animations for player's movement + animation and same goes for the coins . 
  For other things like gravity and etc I'm using just threads . </p>
  
  <p>code of coins updating :</p>
  
  <pre><code>def coinsCheckCollision(self):
      cRemove = None
      indexRemove = -1
      count = 0
      for c in self.frame.coins:
          x, y , width , height = c.getRectangle()
          xP = self.player.getX; yP = self.player.getY; wP = self.player.getWidth; hP = self.player.getHeight
          if collisionDetect(xP , x, yP  , y, wP , width, hP , height) or collisionDetect(x , xP , y , yP , width , wP , height , hP):
              if count not in coinsRemoved:
                  indexRemove = count
          if indexRemove != -1:
              if indexRemove not in coinsRemoved:
                  coinsRemoved.append(indexRemove)
          count +=1
  
  def coinsUpdateAnimations(self):
      count = 0
      for c in self.frame.coins:
          if count not in coinsRemoved:
              self.img = c.getAnimation()
              self.img = ImageTk.PhotoImage(self.img)
              self.frame.coinsImages[count] = self.img
          else:
              if self.frame.coinsImages[count] is not '' :
                  self.frame.coinsImages[count] = ''
                  self.frame.canvas.delete('coinB'+str(count))
          what = self.frame.canvas.itemconfig('coin' + str(count), image=self.frame.coinsImages[count])
          count += 1
      self.coinsCheckCollision()
      self.frame.frame.after(40 , self.coinsUpdateAnimations)
  </code></pre>
  
  <p>Anyway , the question in short is : why when I'm updating multiple things that aren't really "related" to each other , the gui starts lagging ?</p>