pwwang/python-varname

Performance issues

robertsdotpm opened this issue · 2 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.

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

Closing due to lacking activities.