Commit db8d4b5
authored
FEAT: 1 byte for "true" & "false"
- In C language,
- the size of "true" and "false" macro is 4 bytes (for x64 arch)
- but the size of "bool" (typedef _Bool) is 1 byte.
- In order to decrease the memory usage, we can set the size of "true" and "false" macros to 1 byte using explicit typecasting in macro definition.1 parent a10f6c1 commit db8d4b5
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments