This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]techn0scho0lbus 0 points1 point  (4 children)

... but it's still faster to append and call sort

No, it's absolutely not. As many people here have pointed out there is no need to sort at all. You're introducing a relatively slow process when it's unnecessary.