]> gitweb.factorcode.org Git - factor.git/commitdiff
heaps: fix minor doc typo.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 11 Jan 2019 00:47:45 +0000 (16:47 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 11 Jan 2019 00:47:45 +0000 (16:47 -0800)
basis/heaps/heaps.factor

index 3d35a5fb928917b0ff7e064618e233acd992a1eb..b581faada3612b48f457d94988640031f9211d4f 100644 (file)
@@ -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