Files
rust/library/core/src
Pietro Albini a5a8bb0125 replace | with || in string validation
Using short-circuiting operators makes it easier to perform some kinds
of source code analysis, like MC/DC code coverage (a requirement in
safety-critical environments). The optimized x86_64 assembly is
equivalent between the old and new versions.

Old assembly of that condition:

```
mov  rax, qword ptr [rdi + rdx + 8]
or   rax, qword ptr [rdi + rdx]
test rax, r9
je   .LBB0_7
```

New assembly of that condition:

```
mov  rax, qword ptr [rdi + rdx]
or   rax, qword ptr [rdi + rdx + 8]
test rax, r8
je   .LBB0_7
```
2021-10-27 17:00:49 +02:00
..
2021-10-18 19:19:28 +09:00
2021-10-23 21:55:57 -04:00
2021-10-19 15:02:21 +01:00
2021-10-18 19:19:28 +09:00
2021-09-25 20:04:35 +02:00
2021-10-18 19:19:28 +09:00
2021-09-12 02:23:08 +00:00
2021-03-03 11:23:29 +01:00
2021-10-18 19:19:28 +09:00
2021-10-23 21:55:57 -04:00
2021-10-03 20:59:54 -07:00
2021-08-17 07:15:54 +00:00
2021-04-21 14:38:24 +02:00
2021-10-23 21:55:57 -04:00
2021-10-18 19:19:28 +09:00
2021-10-23 21:55:57 -04:00
2021-10-18 19:19:28 +09:00
2021-10-23 21:55:57 -04:00
2020-07-27 19:51:13 -05:00
2021-10-17 18:39:54 +09:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00