Recent content by Isabella Hope
-
I
How Do Mobile Games Handle Resource Optimization for Heavy Graphics?
Hi everyone, I’ve been studying how mobile games manage performance, especially those that use heavier graphics, animations, and online matchmaking. Some games run smoothly even on mid-range devices, while others lag or consume a lot of RAM. One example I was looking at is [Spammy reference...- Isabella Hope
- Thread
- android-performance game-optimization graphics-processing mobile-development
- Replies: 0
- Forum: Computing and Technology
-
I
Why does my loop run slower with larger lists in Python?
Thanks for the detailed explanation this makes things much clearer. I didn’t realize how much overhead comes from Python treating every integer as an object, including the constant type checks and the creation of new int objects during count += i. That definitely explains why even a simple loop...- Isabella Hope
- Post #10
- Forum: Programming and Computer Science
-
I
Why does my loop run slower with larger lists in Python?
Good question! On my machine, creating the list + looping through 1,000,000 items takes around a few hundred milliseconds total. It’s not “slow” in an absolute sense, but the increase becomes noticeable when I compare it to much smaller lists. I’m still trying to understand where that extra time...- Isabella Hope
- Post #9
- Forum: Programming and Computer Science
-
I
Why does my loop run slower with larger lists in Python?
Thanks for pointing that out I actually didn’t think about the fact that list(range(...)) itself is already an O(n) operation. I was only focusing on the loop. So in reality I’m timing two separate linear passes, which explains part of the slowdown. That definitely helps clarify things.- Isabella Hope
- Post #8
- Forum: Programming and Computer Science
-
I
Why does my loop run slower with larger lists in Python?
You’re right the algorithm matters more than the language itself. I’m checking the time complexity now to see whether the slowdown is coming from the way the list is being processed rather than the language. Thanks for pointing that out.- Isabella Hope
- Post #3
- Forum: Programming and Computer Science
-
I
Insights Thinking Outside The Box Versus Knowing What’s In The Box
oth matter, but in different ways. Thinking outside the box helps you find creative solutions you wouldn’t normally consider. But knowing what’s inside the box the fundamentals, the rules, the limitations gives your creativity structure. Real problem-solving usually happens when both work together.- Isabella Hope
- Post #12
- Forum: Other Physics Topics
-
I
Why does my loop run slower with larger lists in Python?
Hi everyone, I’m practicing Python and noticed something strange. When I run a simple loop on a small list, it’s fast—but when I run the same loop on a much larger list, the execution time increases more than I expected. Example (simplified version): data =list(range(1_000_000)) count = 0...- Isabella Hope
- Thread
- Python python-beginner python-performance
- Replies: 11
- Forum: Programming and Computer Science