title: fast way to get and set pixel color in pygame
body: <p>I am working on a simple project using pygame and I need to get and set pixel colors.
  Using <code>pygame.get_at(())</code> and <code>pygame.set_at(())</code> is VERY slow.</p>
  
  <p>So I tried using PixelArray to get and set the colors manually. But this still is VERY slow</p>
  
  <p>Is there a much faster way to do this? </p>
  
  <p>Is it possible to make a funtion to get and set a pixel in c++ so it would be faster or is there a way in python/pygame to do it?</p>
  
  <p>For example: </p>
  
  <p>a c++ function that returns the pixel color at a given coordinate and another function that sets the pixel at a given coordinate to a given color.</p>
  
  <p>Then I could call these functions in pygame somehow.</p>
  
  <p>Thank you very much.</p>