(Oct-09-2019, 07:07 AM)buran Wrote: clearly, star unpacking is faster
Thanks for your kind confirmation along with the speed test. It is nice to know that star unpacking, apart from being the simplest, is faster too.
As rightly pointed out by you, the function works smoothly without qualifying self with class name.
(Oct-09-2019, 07:24 AM)perfringo Wrote: if there are same keys in dictionaries to be merged they will be overwritten without warning and only the last will remain.
Thanks for your kind input. In such a situation, if straight overwriting can't be permitted, custom function might be needed as star unpacking as well as update get ruled out.
A.D.Tejpal