TODOs to optimize SortedArray creation.
authorBrian T. Rice <briantrice@gmail.com>
Fri, 5 Feb 2010 06:14:44 +0000 (22:14 -0800)
committerBrian T. Rice <briantrice@gmail.com>
Fri, 5 Feb 2010 06:14:44 +0000 (22:14 -0800)
src/core/sorted.slate

index a3b19cc..4302bd1 100644 (file)
@@ -14,9 +14,11 @@ an order determined by a sorting block, therefore making indexed modification
 inappropriate."
 
 c@(Collection traits) sort
+"TODO: this scales up poorly."
 [(SortedArray newSizeOf: c) `>> [addAll: c. ]].
 
 c@(Collection traits) sortBy: block
+"TODO: this scales up poorly."
 [(SortedArray newSizeOf: c) `>> [sortBlock: block. addAll: c. ]].
 
 sc@(SortedArray traits) sort [sc].