summaryrefslogtreecommitdiff
path: root/lib/std/slpush.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/slpush.myr')
-rw-r--r--lib/std/slpush.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/slpush.myr b/lib/std/slpush.myr
index 1790073..b09069c 100644
--- a/lib/std/slpush.myr
+++ b/lib/std/slpush.myr
@@ -10,9 +10,9 @@ generic slpush = {sl, elt
slpush relies on implementation details
of slgrow for efficiency. Because bucket
sizes come in powers of two for all buckets
- <= 32k, and we only reallocate when we hit
- a bucket boundary, this is effectively
- growing the slice by powers of two.
+ <= 32k, and by powers of 1.5 for larger
+ slices, this is effectively growing the
+ slice by powers of two.
*/
slgrow(sl, sl#.len + 1)
sl#[sl#.len - 1] = elt