How to do window sliding operation in a fast way?

  Merci beaucoup.  20 bytes.