minor cleanups (#17948)
This commit is contained in:
parent
436af88d8c
commit
98cd1671a3
3 changed files with 1 additions and 5 deletions
|
|
@ -373,7 +373,7 @@ iterator elements(t: IntSet): int {.inline.} =
|
|||
r = r.next
|
||||
|
||||
proc isSmallChunk(c: PChunk): bool {.inline.} =
|
||||
return c.size <= SmallChunkSize-smallChunkOverhead()
|
||||
result = c.size <= SmallChunkSize-smallChunkOverhead()
|
||||
|
||||
proc chunkUnused(c: PChunk): bool {.inline.} =
|
||||
result = (c.prevSize and 1) == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue