Hi Andrew, You're on Windows 7, right? I just gave this a try on my Windows VM and could not replicate it. According to Windows Resource Monitor, the Python process CPU usage only blips up for a split second, then drops back down to 0%.
I tested on Win 7 Ultimate 64-bit, using the current default pyglet branch. If you're using the last stable pyglet release, could you give it a try with the lasted code from Bitbucket? -Ben On Monday, November 23, 2015 at 5:32:53 AM UTC+9, Andrew York wrote: > > Hello, I'm new to the community, but I'm a very happy pyglet user for some > time now. I've asked a pyglet question on stack overflow: > > http://stackoverflow.com/questions/33833646/why-does-referring-to-a-class-in-python-pyglet-image-cause-heavy-cpu-load-on-w > It seems sensible to mention it here also. > > I'm not familiar with pyglet's internals, but I'm happy to do what I can > to help answer this question. > > Thanks for making this excellent project. > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
