Follow

Trying to track down a minor bug: a function that I was expecting to be called 5 times was in fact called 1,693 times. So that's something to investigate.

· · Web · 1 · 0 · 0

Fixed, observed behavior is correct, but there's still a conditional that's not quite right causing a thing that should only have happened once to instead happen 5 times, but with 4 of them correctly being effective no-ops. I'll have to look into that a little later.

Having now looked into it, pretty sure the problem is two conditionals that are the wrong way around such that the whole thing always evaluates as true even if it shouldn't.

Sign in to participate in the conversation
Typica Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!