Message414898
You might not like global variables, they may not show up much in benchmarks, but people do use them. I suspect a lot of jupyter notebooks have quite a few global variables.
There should not be much of a slowdown for this code when watching `CONST`:
CONST = ... # watched
var = 0
for _ in range(LARGE_NUMBER):
var += 1
CONST = ... # trigger event. |
|
Date |
User |
Action |
Args |
2022-03-11 11:14:54 | Mark.Shannon | set | recipients:
+ Mark.Shannon, gvanrossum, barry, gregory.p.smith, carljm, dino.viehland, brandtbucher, Dennis Sweeney, itamaro |
2022-03-11 11:14:53 | Mark.Shannon | set | messageid: <1646997293.98.0.611618941046.issue46896@roundup.psfhosted.org> |
2022-03-11 11:14:53 | Mark.Shannon | link | issue46896 messages |
2022-03-11 11:14:53 | Mark.Shannon | create | |
|