Commit 35e2adb
committed
Allow for optimizing out bound check on 64 bit systems
This re-wording of the previous snippet hints to the compiler
more directly, that this condition can be dropped if the
type of size_t is narrower than the one used for OEISprimes (uint64_t).
This optimization applies for 32 bit systems.1 parent 523600b commit 35e2adb
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
105 | 111 | | |
| 112 | + | |
106 | 113 | | |
107 | 114 | | |
108 | 115 | | |
| |||
0 commit comments