aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-12-06 12:02:55 +0000
committerIan Fan <ianfan0@gmail.com>2018-12-06 12:02:55 +0000
commitbd6a63966762f7fdcf5f9cd86bc50f7f0a9515e2 (patch)
tree7060296a2c79f98488d865ad72feba4bb508bf3f /include/stringop.h
parentcf6edaf26aa1461b89552727d2435d6fe9d0adf3 (diff)
list: double list capacity when resizing instead of incrementing
This is the industry standard since it allows insertion to be amortized O(1) time.
Diffstat (limited to 'include/stringop.h')
0 files changed, 0 insertions, 0 deletions