isSuffixOf package:streamly-core

Returns True if the first stream is a suffix of the second. A stream is considered a suffix of itself.
>>> Stream.isSuffixOf (Stream.fromList "hello") (Stream.fromList "hello" :: Stream IO Char)
True
Space: O(n), buffers entire input stream and the suffix. Pre-release Suboptimal - Help wanted.
Much faster than isSuffixOf.