<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>67084</bug_id>
          
          <creation_ts>2011-08-26 21:07:58 -0700</creation_ts>
          <short_desc>Investigate the performance of StringBuilder&apos;s growing/shrinking policy and optimize</short_desc>
          <delta_ts>2011-12-14 23:09:14 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Template Framework</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>66661</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Xianzhu Wang">wangxianzhu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>barraclough</cc>
    
    <cc>darin</cc>
    
    <cc>shinyak</cc>
    
    <cc>shinyak</cc>
    
    <cc>sullivan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>457913</commentid>
    <comment_count>0</comment_count>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2011-08-26 21:07:58 -0700</bug_when>
    <thetext>For now StringBuilder and Vector have different growing policy.

StringBuilder: no minimum size, grow to double size when needed.
Vector: minimum size is 16, grow 1/4 when needed.

Need to investigate the optimal values for them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>457972</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-08-27 12:19:47 -0700</bug_when>
    <thetext>One of the most important people to cc on bugs like this is Gavin Barraclough, who is the main person at Apple looking at strings and either the author or most recent enhancer of StringBuilder.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>