Question about the performance of joining two LinkedLists.
f.e.
LL1 = {10,12,15,17,20,30,....}
LL2 = {37,58,67,59,47,65,....}
I can do :
For each number as integer in LL2
LL1.AddLast(number)
Next
If LL2 contains 1000 numbers then there are 1000 actions
But I was thinking LL2.First refer to the second node and so on to do this in one action.
Is this possible ?
Thanks for any response
f.e.
LL1 = {10,12,15,17,20,30,....}
LL2 = {37,58,67,59,47,65,....}
I can do :
For each number as integer in LL2
LL1.AddLast(number)
Next
If LL2 contains 1000 numbers then there are 1000 actions
But I was thinking LL2.First refer to the second node and so on to do this in one action.
Is this possible ?
Thanks for any response