python-varname icon indicating copy to clipboard operation
python-varname copied to clipboard

Performance issues

Open robertsdotpm opened this issue 3 years ago • 1 comments

Hello, I was using Python varname for some of my projects enum variables which made logging much easier. But I noticed when profiling my code with cProfile there were tens of thousands of calls to various built-in functions. My code definitely doesn't do that much work. So I replaced the varname code with integers and it fixed the problem. It may have just been my code - still investigating - but this is a heads up.

robertsdotpm avatar Jul 12 '22 05:07 robertsdotpm

A piece of minimal reproducible code will give us more hints.

pwwang avatar Jul 12 '22 05:07 pwwang

Closing due to lacking activities.

pwwang avatar May 07 '23 02:05 pwwang