Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Concatenating immutable sequences always results in a new object. This means that building up a sequence by repeated concatenation will have a quadratic runtime cost in the total sequence length. To get a linear runtime cost, you must switch to one of the alternatives below:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement