1 hour ago · 10 min read2082 words · Tech · hide · 0 comments

Hello, loves! Speed report, and I noticed what looks like Feature Envy. Let’s see where it leads. One serious mistake, quickly corrected. Very nice result. Some speculation. With a little free time in hand while I attended a not very interesting meeting in another world, I sped up some tests, and made the scroller tests work without a window, so those are turned back on. The measured time for the tests is about 3/4 of a second. I found out that there is a fairly substantial delay creating a DungeonLayout of the standard size, 64x56, upwards of 3500 Cell instances. When I say substantial, I mean something between 0.01 and 0.02 seconds, so it’s not exactly a worry. Along the way I learned the incantations needed to convince pytest and PyCharm to display test timing. I haven’t checked whether doing so adds much time to the testing cycle but it seems not to. Then I ran across some clear Feature Envy in Dungeon. Feature Envy is what we say about code that spends more time thinking about…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.