On Fri, 30 Aug 2024 at 04:32, Walter Bright via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
On 8/28/2024 2:45 AM, Manu wrote:
> Here's one that I just wrote a short while ago:
> https://gist.github.com/TurkeyMan/0e49da245cc0086f852ac18deed21a9c


```
if (data.length < 4) // unlikely
     return 0;
```

replace with:

```
if (data.length < 4)
     goto Lreturn0;
```

How is that any different? The branch prediction hasn't changed.