]> gitweb.factorcode.org Git - factor.git/commit
growable: Multiply growable size by 2 instead of 3 when growing.
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 11 Mar 2015 23:53:20 +0000 (16:53 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 11 Mar 2015 23:53:20 +0000 (16:53 -0700)
commit0fda669750a596a76ee553578bb42491da014be8
treea110c173bac128fb20eff50c7f2de99845ace470
parent7c30ae8ab6bcc681b52297177ecd993112723f18
growable: Multiply growable size by 2 instead of 3 when growing.
http://stackoverflow.com/questions/1100311/what-is-the-ideal-growth-rate-for-a-dynamically-allocated-array
Fixes #1284.
core/growable/growable.factor