diff: shrink code (-85 bytes):
function old new delta fiddle_sum 8 - -8 diffreg 2717 2690 -27 prepare 334 284 -50 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
This commit is contained in:
@ -159,7 +159,7 @@ static struct {
|
||||
#define MAGIC (Super.s_magic)
|
||||
|
||||
/* gcc likes this more (code is smaller) than macro variant */
|
||||
static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n)
|
||||
static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n)
|
||||
{
|
||||
return (size + n-1) / n;
|
||||
}
|
||||
|
Reference in New Issue
Block a user