tab replace to space 4 (rmlibre)
> Its just that I've just began to touch tkinter, and would like to know of
> bug-related pitfalls before I waste energy on trying to figure out what I
> did wrong. :-\
One thing which is not obvious or easy to debug: Text widgets have some
inefficiency related to really long lines that don't have line breaks.
result is that your cpu will be completely gobbled up if you have a
long line. I haven't run any tests to get an accurate view of what the
point is. But one the cores in my cpu was hold up at 100% when
many many thousands of characters without line breaks. After lots of
and optimization finding, I just happened to google for "cpu load issue
each of the widgets I was using and discovered that this indeed was the
of the cpu load. Swapping in line breaks at regular, known intervals
Google for "issue with tkinter <widget>" for the widgets you'll be
"<issue> with tkinter" if you're experiencing a particular issue and are
sure if it could be caused for some reason by tkinter.