algorithmic modeling for Rhino
Well friends, you can have fun and win 1M dollars (plus the girl and some grams of caviar) with this one:
just mastermind the fasted method to "merge" these Lists.
Of course as the challenge initiator I can't participate (but I provide some "hints" for the brave). In the mean time that caviar is rather delicious.
PS: Add your method to the script in order to consolidate things.
best, Peter The Troll, District 9, North Pole
Tags:
Not sure about the speed, the values are all so short and variable that it's hard to figure out. But this is certainly the cleanest way in my book:
L3 = new List<int>(L1.Count + L2.Count);
L3.AddRange(L1);
L3.AddRange(L2);
My lawyer will contact your lawyer forthwith.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by