this post was submitted on 28 May 2025
1357 points (99.2% liked)

People Twitter

7611 readers
1501 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a pic of the tweet or similar. No direct links to the tweet.
  4. No bullying or international politcs
  5. Be excellent to each other.
  6. Provide an archived link to the tweet (or similar) being shown if it's a major figure or a politician.

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] yoriaiko@lemmy.blahaj.zone 8 points 1 month ago* (last edited 1 month ago) (14 children)

I'm no programmer nor coder or such, I call myself advanced user only.

If having part of an app (I refer app as OS here, and start menu as part of an OS) to spike CPU/memory usage, does that means that part is not being used without being called? and leaves resources fully free? Sure big spike happen when the sub-part is called, but without being called?

IF part of an app is not even loaded while not used, isn't that actually good? I mean, depends how often that app part is called and have to load from the void.

I imagine that could be better than having unused part loaded all the time, wasting the resources?

Also, I totally skip part of poorly coded compared to old smooth and optimized code.

[โ€“] Ephera@lemmy.ml 1 points 1 month ago

Any normal UI framework will unload UI elements when they're not shown. Yes, that means a CPU/memory spike is normal. But on a modern PC, that spike should be much lower than even 1%, which is why you can't typically see it.

load more comments (13 replies)