Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
cde46834483ed30452fbb801666a29162f78a8ee
/
.
/
examples
/
d
/
Max_array.d
blob: 21fec9ea7162d2c8db0967bc29dc6940a81886fc [
file
] [
log
] [
blame
] [
raw
]
// Hint: Try to compile with -O3 -release -boundscheck=off -mcpu=native
void
maxArray
(
double
[]
x
,
double
[]
y
)
{
for
(
int
i
=
0
;
i
<
65536
;
i
++)
{
if
(
y
[
i
]
>
x
[
i
])
x
[
i
]
=
y
[
i
];
}
}