]> gitweb.factorcode.org Git - factor.git/commit
io:read: don't resize output buffer if unnecessary
authorJoe Groff <arcata@gmail.com>
Wed, 9 Nov 2011 22:29:12 +0000 (14:29 -0800)
committerJoe Groff <arcata@gmail.com>
Wed, 9 Nov 2011 22:29:12 +0000 (14:29 -0800)
commitf31fb8a9680338a040bc72a4e385893b142eb4cb
tree442ac72a2b98d4c36abcfbbfc1cd55bca930d350
parentbab801b321407ab773f957d15a0835cfdd8a6d6a
io:read: don't resize output buffer if unnecessary
Even with a short-circuit test in the VM primitives, resize still has an overly high runtime cost in tight loops. For #376.
core/io/io.factor