sw is a very simple implementation of a Sliding Window (from Complex Event Processing)