486
oddly specific (lemmy.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] spongebue@lemmy.world 3 points 1 week ago

If each user is assigned a number as to where they're placed in the group, I guess. But what happens when people are added and removed? If #145 leaves a full group, does #146 and beyond get decremented to make room for the new #256? (or #255 if zero-indexed). It just doesn't seem like something you'd actually see in code not designed by a first semester CS student.

Also, more importantly, memory is cheap AF now 🤷‍♂️

[-] SandmanXC@lemmy.world 29 points 1 week ago

While I completely agree with the sentiment, snorting too much "memory is cheap AF" could lead to terminal cases of Electron.

[-] morphballganon@lemmynsfw.com 5 points 1 week ago

There would be no need to decrement later people because they're definitely referred to using pointers. You'd just need to update the previous person's pointer to the new next person.

this post was submitted on 07 Jul 2025
486 points (99.2% liked)

Microblog Memes

8566 readers
1055 users here now

A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.

Created as an evolution of White People Twitter and other tweet-capture subreddits.

Rules:

  1. Please put at least one word relevant to the post in the post title.
  2. Be nice.
  3. No advertising, brand promotion or guerilla marketing.
  4. Posters are encouraged to link to the toot or tweet etc in the description of posts.

Related communities:

founded 2 years ago
MODERATORS