I love your union function. It is so much faster than the one defined in the video:
def union(other: TweetSet): TweetSet= ((left union right) union other) incl elem
Is this because of the tail recursiveness?
I love your union function. It is so much faster than the one defined in the video:
Is this because of the tail recursiveness?