Page 1 of 1

Cost of updating values of particular keys in a dictionary inside a coro

Posted: Tue Jan 22, 2019 9:38 am
by lnsri22
Hello Everyone!!

I have a base dictionary with up to 20 keys for holding various sensor params.

I have been updating these inside various coroutines (based on uasyncio)

What would be the memory costs or side-effects(such as heap fragmentation)


Thanks in advance!!

Re: Cost of updating values of particular keys in a dictionary inside a coro

Posted: Tue Jan 22, 2019 9:39 am
by lnsri22
I create the dictionary only once on reboot.

From then and there , I only update the values, for your kind information