quentin on Nostr: In terms of performance the difference is minimal, if we get detailed `const` helps ...
In terms of performance the difference is minimal, if we get detailed `const` helps the compiler to optimize performance by ensuring that the reference remains constant, on the other hand ‘let’ minimally overloads the compiler as it must allow it to overwrite.
We would optimize more by cleaning the fans of the pc than with this 🤣🤣🤓
Published at
2024-07-17 19:19:21Event JSON
{
"id": "93f39dd1af5a3a9b571057b0ce209cfb92fe26f12ccafb91120c3198ef063d97",
"pubkey": "89e14be49ed0073da83b678279cd29ba5ad86cf000b6a3d1a4c3dc4aa4fdd02c",
"created_at": 1721243961,
"kind": 1,
"tags": [
[
"e",
"8ac2074a9c23e92598a1307e4d4a1c9e29e5c10fd139043682cab5b6a6183cdf",
"",
"root"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
]
],
"content": "In terms of performance the difference is minimal, if we get detailed `const` helps the compiler to optimize performance by ensuring that the reference remains constant, on the other hand ‘let’ minimally overloads the compiler as it must allow it to overwrite.\n\nWe would optimize more by cleaning the fans of the pc than with this 🤣🤣🤓",
"sig": "fc42bf8a9c8fcc4800831f6a0e847d8f5aa9b451903388c2a91aca3cae80b3d2b8721b73469bf95afe112c4f5c5ceeedd7b52e159070db48ded33f286d594f4f"
}