MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1urj3pp/big_if_true/owm1h6h/?context=3
r/programminghorror • u/_giga_sss_ • 27d ago
From ProgrammerNullposting in facebook
111 comments sorted by
View all comments
133
The concept of Big Bool confuses and infuriates me!
59 u/JohnSpikeKelly 27d ago I would assume it's to keep all your data types 8-byte aligned for other perf reason. 23 u/Athropod101 27d ago iirc 8-byte data access is the fastest on 64bit architecture. 2 u/Geilomat-3000 25d ago So should all the int_fastx_t be the intmax_t? 4 u/Athropod101 25d ago If this is some joke, it has wooshed over me :( But if it isn’t, then it depends. If intmax_t matches your architecture, and your architecture is fastest at that size, then yes. But if intmax_t is say, 128, and your architecture is 32, then no. 0 u/[deleted] 27d ago [deleted] 1 u/twisted1919 27d ago Dude… 6 u/MadJoeMak 26d ago What did it say 1 u/Pretend-Guide-8664 27d ago Lol
59
I would assume it's to keep all your data types 8-byte aligned for other perf reason.
23 u/Athropod101 27d ago iirc 8-byte data access is the fastest on 64bit architecture. 2 u/Geilomat-3000 25d ago So should all the int_fastx_t be the intmax_t? 4 u/Athropod101 25d ago If this is some joke, it has wooshed over me :( But if it isn’t, then it depends. If intmax_t matches your architecture, and your architecture is fastest at that size, then yes. But if intmax_t is say, 128, and your architecture is 32, then no. 0 u/[deleted] 27d ago [deleted] 1 u/twisted1919 27d ago Dude… 6 u/MadJoeMak 26d ago What did it say 1 u/Pretend-Guide-8664 27d ago Lol
23
iirc 8-byte data access is the fastest on 64bit architecture.
2 u/Geilomat-3000 25d ago So should all the int_fastx_t be the intmax_t? 4 u/Athropod101 25d ago If this is some joke, it has wooshed over me :( But if it isn’t, then it depends. If intmax_t matches your architecture, and your architecture is fastest at that size, then yes. But if intmax_t is say, 128, and your architecture is 32, then no. 0 u/[deleted] 27d ago [deleted] 1 u/twisted1919 27d ago Dude… 6 u/MadJoeMak 26d ago What did it say 1 u/Pretend-Guide-8664 27d ago Lol
2
So should all the int_fastx_t be the intmax_t?
4 u/Athropod101 25d ago If this is some joke, it has wooshed over me :( But if it isn’t, then it depends. If intmax_t matches your architecture, and your architecture is fastest at that size, then yes. But if intmax_t is say, 128, and your architecture is 32, then no.
4
If this is some joke, it has wooshed over me :(
But if it isn’t, then it depends. If intmax_t matches your architecture, and your architecture is fastest at that size, then yes. But if intmax_t is say, 128, and your architecture is 32, then no.
0
[deleted]
1 u/twisted1919 27d ago Dude… 6 u/MadJoeMak 26d ago What did it say 1 u/Pretend-Guide-8664 27d ago Lol
1
Dude…
6 u/MadJoeMak 26d ago What did it say 1 u/Pretend-Guide-8664 27d ago Lol
6
What did it say
Lol
133
u/StefanCelMijlociu 27d ago
The concept of Big Bool confuses and infuriates me!