Rollup merge of #30720 - BChip:patch-1, r=steveklabnik

Declare what LIFO stands for
This commit is contained in:
Steve Klabnik 2016-01-06 18:31:57 -05:00
commit eb41060ce2
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ instead.
# Which to use?
So if the stack is faster and easier to manage, why do we need the heap? A big
reason is that Stack-allocation alone means you only have LIFO semantics for
reason is that Stack-allocation alone means you only have 'Last In First Out (LIFO)' semantics for
reclaiming storage. Heap-allocation is strictly more general, allowing storage
to be taken from and returned to the pool in arbitrary order, but at a
complexity cost.