/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
John Carmack on mutable variables
(twitter.com)
498 points
azhenley
| 2 comments |
31 Oct 25 02:34 UTC
|
HN request time: 0.001s
|
source
1.
xd1936
◴[
31 Oct 25 13:06 UTC
]
No.
45771560
[source]
▶
>>45767725 (OP)
#
Wouldn't this allocate wasteful amounts of RAM unnecessarily for every step in a calculation?
replies(1):
>>45771989
#
ID:
GO
2.
beeflet
◴[
31 Oct 25 13:52 UTC
]
No.
45771989
[source]
▶
>>45771560 (TP)
#
not if it gets optimized out
↑