Files
Odin/core
Ruan ad8cfbeb73 Fix slice.simple_equal misbehaviour on empty slice with non-nil data
Before this change, the following code:

```odin
package strconcat

import "core:fmt"
import "core:slice"

main :: proc() {
	a: [1]u8
	s1: []u8 = {}
	s2: []u8 = a[:0]

	fmt.printfln("s1={} len(s1)={} raw_data(s1)={}", s1, len(s1), raw_data(s1))
	fmt.printfln("s2={} len(s2)={} raw_data(s2)={}", s2, len(s2), raw_data(s2))
	fmt.printfln("equal(s1, s2):        {}", slice.equal(s1, s2))
	fmt.printfln("simple_equal(s1, s2): {}", slice.simple_equal(s1, s2))
}
```

Produced the following output on my machine:

```
s1=[] len(s1)=0 raw_data(s1)=<nil>
s2=[] len(s2)=0 raw_data(s2)=0x7FFFED64F74F
equal(s1, s2):        true
simple_equal(s1, s2): false
```

This commit fixes simple_equal's behaviour to match that of equal.
2026-08-17 22:38:40 +02:00
..
2026-04-28 19:27:24 +02:00
2026-07-31 21:47:02 -04:00
2026-07-10 21:37:47 +02:00
2026-04-28 19:27:24 +02:00
2026-08-02 03:15:30 +02:00
2026-08-16 18:08:17 +02:00
2026-04-28 19:27:24 +02:00
2026-03-14 16:21:38 +00:00
2026-02-09 20:08:22 +01:00
2026-08-09 16:49:37 +02:00
2026-07-30 12:03:08 +02:00