mastodonien.de

fosstodon.org

Zeitpunkt              Nutzer    Delta   Tröts        TNR     Titel                     Version  maxTL
Di 06.08.2024 00:00:37    61.975      +4    3.608.594    58,2 Fosstodon                 4.2.10     500
Mo 05.08.2024 00:00:05    61.971      +5    3.606.116    58,2 Fosstodon                 4.2.10     500
So 04.08.2024 00:00:02    61.966      +2    3.604.482    58,2 Fosstodon                 4.2.10     500
Sa 03.08.2024 00:00:05    61.964      -2    3.602.552    58,1 Fosstodon                 4.2.10     500
Fr 02.08.2024 00:00:23    61.966      -4    3.599.813    58,1 Fosstodon                 4.2.10     500
Do 01.08.2024 00:01:11    61.970      +3    3.596.601    58,0 Fosstodon                 4.2.10     500
Mi 31.07.2024 00:00:00    61.967       0    3.593.593    58,0 Fosstodon                 4.2.10     500
Di 30.07.2024 00:00:20    61.967      +2    3.590.362    57,9 Fosstodon                 4.2.10     500
Mo 29.07.2024 00:00:12    61.965      -1    3.587.302    57,9 Fosstodon                 4.2.10     500
So 28.07.2024 00:00:15    61.966       0    3.586.611    57,9 Fosstodon                 4.2.10     500

Di 06.08.2024 14:41

Huh, arrays have some overhead? 🥲

Assembly output of the following code:

```rust
#[no_mangle]
pub fn args(x: f64, y: f64) -> f64 {
    x + y
}

#[no_mangle]
pub fn arr([x, y]: [f64; 2]) -> f64 {
    x + y
}
```

The `arr` function has an additional instruction to deal with the array.

Assembly output of the following code: ```rust #[no_mangle] pub fn args(x: f64, y: f64) -> f64 { x + y } #[no_mangle] pub fn arr([x, y]: [f64; 2]) -> f64 { x + y } ``` The `arr` function has an additional instruction to deal with the array.

[Öffentlich] Antw.: 0 Wtrl.: 0 Fav.: 2

Antw. · Weiterl. · Fav. · Lesez. · Pin · Stumm · Löschen