[parrot/parrot] c868e4: [pmc] change StringBuilder overallocation
GitHub
noreply at github.com
Fri Jan 23 21:20:27 UTC 2015
Branch: refs/heads/rurban/gcms-numfree
Home: https://github.com/parrot/parrot
Commit: c868e4efac05e7d704f0bb2d28836057bea76581
https://github.com/parrot/parrot/commit/c868e4efac05e7d704f0bb2d28836057bea76581
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M ChangeLog
M src/pmc/stringbuilder.pmc
Log Message:
-----------
[pmc] change StringBuilder overallocation
by 1.5, not 2. And for >8192 onto the next block size.
The optimal overallocation is the golden ration 1.618, but we prefer int ops.
A difference is not measurable.
Commit: 02507197ba14e5cd3154f796eca8d5db3f17e80c
https://github.com/parrot/parrot/commit/02507197ba14e5cd3154f796eca8d5db3f17e80c
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M ChangeLog
M config/init/optimize.pm
Log Message:
-----------
[config] change perl5 derived -O2 to -O3 for gcc/clang
Faster --optimize. 5% faster in parrot-bench. Closes GH #1185
Commit: fa1bc2cdc05bd3c13117be4220d2600bbe5b0a3a
https://github.com/parrot/parrot/commit/fa1bc2cdc05bd3c13117be4220d2600bbe5b0a3a
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M src/pmc/stringbuilder.pmc
Log Message:
-----------
[pmc] disable 2x StringBuilder.substr clone, GH #1123
STRING_substr already creates a copy for us, no need to copy it twice.
no regression.
Note that t/stress/gc.t started failing earlier, even in 7.0.0.
Commit: 1cfe5819ca97f97fda72486d5da496083f721522
https://github.com/parrot/parrot/commit/1cfe5819ca97f97fda72486d5da496083f721522
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M src/pmc/stringbuilder.pmc
Log Message:
-----------
[pmc] StringBuilder.substr needs no WB
GH #1123. 1.14% faster
Commit: 4d66f6c2ce7e408181ee1149f3f9e613f10982a4
https://github.com/parrot/parrot/commit/4d66f6c2ce7e408181ee1149f3f9e613f10982a4
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M config/init/optimize.pm
Log Message:
-----------
comment: add GH #1184 testcase for src/gc/system.c amd64
Commit: 9cf2c341d9b256d5acf6ae27d09673bcfd821f62
https://github.com/parrot/parrot/commit/9cf2c341d9b256d5acf6ae27d09673bcfd821f62
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M src/pmc/stringbuilder.pmc
Log Message:
-----------
[pmc] Avoid StringBuilder copies on set_pmc, ...
and push_pmc, i_concatenate, when the arg is a StringBuilder
PMC already. 0.5% faster.
Commit: 68c7dacf9b018d6e8ffc581b8aea1d0090bc8890
https://github.com/parrot/parrot/commit/68c7dacf9b018d6e8ffc581b8aea1d0090bc8890
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M CREDITS
M RESPONSIBLE_PARTIES
Log Message:
-----------
RESPONSIBLE_PARTIES + CREDITS: small updates
cotto and whiteknight are non-active since 5.0
Commit: 53139d9d42643e828a689410948dd62d5904b5b2
https://github.com/parrot/parrot/commit/53139d9d42643e828a689410948dd62d5904b5b2
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M src/gc/fixed_allocator.c
M src/gc/gc_ms.c
M src/gc/gc_private.h
Log Message:
-----------
gc_ms: skip counting num_free_objects unless GC_STATS (debugging only)
Commit: 9ff9bd6053bafd38f4e3025eb625b302f177d1f4
https://github.com/parrot/parrot/commit/9ff9bd6053bafd38f4e3025eb625b302f177d1f4
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M config/gen/config_h/config_h.in
M src/gc/gc_ms.c
M src/gc/gc_private.h
Log Message:
-----------
gc: define the default GC, for PARROT_GC_DEFAULT_MS
We need a compile-time definition, to skip num_free_objects on gms or inf
Commit: e3980fdffdd94628a3b120a910c335ff1691eaab
https://github.com/parrot/parrot/commit/e3980fdffdd94628a3b120a910c335ff1691eaab
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M src/io/stringhandle.c
Log Message:
-----------
[core] optimize io_stringhandle_write_b
WIP. reuse write buffer if large enough. This happens very often
Commit: 825c61ca2c291ad107fc9567c094f3bd942bbb46
https://github.com/parrot/parrot/commit/825c61ca2c291ad107fc9567c094f3bd942bbb46
Author: Reini Urban <rurban at cpanel.net>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M src/pmc/stringbuilder.pmc
Log Message:
-----------
Revert "[pmc] Avoid StringBuilder copies on set_pmc, ..."
test: This reverts commit 9cf2c341d9b256d5acf6ae27d09673bcfd821f62.
Compare: https://github.com/parrot/parrot/compare/c868e4efac05^...825c61ca2c29
More information about the parrot-commits
mailing list