Re: Discuss changing the behaviour of append()
- Posted by DerekParnell (admin) Jun 17, 2014
- 3541 views
SDPringle said...
So, this is not about belief or facts but rather about feelings.
Hmm ... kind of ... the only empirical thing I can come up with, which is actually why I even bothered in the first place, is that if it were built into the append() function (i.e. C code) it would give better performance than using IL code. The built-in is already testing for the first argument's data-type so there's no change there, so the only difference would be that instead of crashing the application, it could efficiently build a new sequence using the first argument.