From 75f36fa9c5accaf676ea63f857a678e7d6641426 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 10 Jan 2019 16:47:45 -0800 Subject: [PATCH] heaps: fix minor doc typo. --- basis/heaps/heaps.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/heaps/heaps.factor b/basis/heaps/heaps.factor index 3d35a5fb92..b581faada3 100644 --- a/basis/heaps/heaps.factor +++ b/basis/heaps/heaps.factor @@ -117,7 +117,7 @@ M: heap heap-push* ! A quote from cpython's implementation: ! > We *could* break out of the loop as soon as we find a pos where newitem <= ! > both its children, but turns out that's not a good idea [...] -! Indeed the code is 33% slower if we remove this optmization. +! Indeed the code is 33% slower if we remove this optimization. :: sift-up ( heap n -- ) heap data>> :> data data length :> end