Parrot 4.8.0 "Spix's Macaw" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 19 September 2012.
00:01 whiteknight joined
whiteknight good evening, #parrot 00:02
sorear good evening whiteknight.
whiteknight hello sorear
dalek rrot/gh837_concat: b9fc29b | dukeleto++ | t/op/stringu.t:
[t] Move concat tests for #837 to a more appropriate file
00:49
rrot/gh837_concat: c552eb6 | dukeleto++ | t/pmc/string.t:
Revert "[t] Add some failing tests for #837 reported by pmichaud++"

This reverts commit 5d7aa2d0d7489aadc3bc3037271d919634483b90.
00:57 benabik joined 01:47 mdupont joined 01:49 l3l1p joined
dalek rrot/gh838_cmdline_cleanup: 19183d0 | dukeleto++ | / (2 files):
Remove mentions of -d/-O/-v from --help output and docs/running.pod #838
01:54
02:01 MikeFair joined
dalek rrot/gh838_cmdline_cleanup: bf60df5 | dukeleto++ | / (3 files):
Remove more references to options that no longer exist #838
02:05
02:49 rurban_mobile joined
rurban_mobile checking the string encoding bug : it's 837 actually immc which ignores the encoding. 02:53
03:05 l3l1p joined
rurban_mobile A SymReg cannot hold the encoding, nor stores it the STRING, it just stores the STRING buffer. 03:24
oh, it can with VT_ENCODED 03:28
05:01 l3l1p joined
dalek rrot/gh837_concat: 8a56a8e | rurban++ | / (3 files):
[GH #837] Honor encoding in imcc optimizer

Context registers unfortunately do not store type information, just the values. We would need at least type 'U" here. So recreate an proper const'ed encoding string from the register value.
06:00
rurban_mobile How we store and reencode our string registers is horribly inefficient. mk_const 'U' throws away the good STRING value and does rather pessimizing than optimizing. 06:03
SREG's should just hold the STRING pointer, not the char*. 06:04
sorear what. 06:05
MikeFair I'm not sure I see the difference between a string pointer and a char* (and isn't the char* there for the C code that PIR is compiling into). 06:06
?
dalek rrot/gh837_concat: 3a6acd6 | rurban++ | ChangeLog:
[GH #873] ChangeLog line for imcc optimizer bug
06:09
rurban_mobile STRING is more efficient and also holds the encoding ptr. 06:10
char is basically just the raw information, but not the encoding.
and you cannot store \\0 for example.
Now we escape and unescape a char* mult. times, because a register nor a const cannot hold STRING values. 06:12
That's embarrassing
06:53 alvis_ joined 07:08 alvis joined 07:13 brrt joined 07:34 lucian joined 07:47 TonyC joined 08:20 Psyche^ joined
dalek kudo/nom: 69910dc | masak++ | docs/release_guide.pod:
[docs/release_guide.pod] I'll do September
09:27
kudo/nom: 94f900b | moritz++ | docs/release_guide.pod:
fix a typo
09:31
11:33 brrt joined
brrt hi #parrot 11:40
11:57 JimmyZ joined 12:18 particle joined 13:04 PacoAir joined 13:15 elmex joined 13:18 PacoAir joined
Coke rurban: what are SREGs holding if not STRINGs? 14:12
also, github.com/parrot/parrot/commit/8a...6b36f71644 doesn't seem to exist.
looks like it should have been 8a56a8e79c636325d646a029ba01c16b36f71644 14:14
14:25 benabik joined 14:37 l3l1p joined 14:51 benabik_ joined 15:00 dmalcolm joined, benabik_ joined 15:40 estrabd joined 15:41 estrabd joined 16:26 alvis_ joined 17:14 tuxit joined
rurban Coke: I'll mail my concerns and ideas to the list. It will be bigger. SREG only holds "encoding:\\"encoded escaped string\\"" char * 17:19
17:58 benabik joined 18:02 zby_home joined 18:07 contingencyplan joined
dalek rrot/gh837_concat: e8a0ab4 | rurban++ | examples/benchmarks/stress_stringsu.pir:
[GH #837] Add benchmark to test encoding slowdown

stress_stringsu.pir tests encoding via sprintf and concat. The fixed version is only a bit slower then the old broken version. 13.666s (broken) vs 13.506s (fixed) vs 3.022s (without encoding).
So fixing the encoding representation as STRING* in SREG and consts 'U' is a worthwile goal.
18:31
Coke rurban: is SREG the same thing as a $S1 ? 18:33
or is it some internal IMCC thing?
18:45 lucian joined
dalek rrot/gh837_concat: 7ecd472 | rurban++ | examples/benchmarks/stress_strings1.pir:
[GH #837] New comparison benchmark against stress_stringsu.pir

Bad news: There is almost no measurable speed advantage from ascii strings to encoded strings. With the fix and without the fix, as sprintf handling slows down the test 4x times.
So converting a SREG and const to encoded STRING* will not gain much performance.
18:54
kudo/nom: c13ac5e | masak++ | docs/announce/2012.09:
[docs/announce/2012.09] added
19:05
kudo/nom: 738d1ea | masak++ | docs/announce/2012.09:
[docs/announce/2012.09] mention faster compiler
19:13
kudo/nom: 488521b | masak++ | docs/announce/2012.09:
[docs/announce/2012.09] tie-breaking is a feature

Not a breaking change. :)
19:18
19:19 PacoAir joined 19:21 PacoAir joined
dalek p: a318bd5 | masak++ | VERSION:
[VERSION] bump to 2012.09
19:22
19:32 PacoAir joined 19:39 PacoAir joined
dalek kudo/nom: bdb50f4 | masak++ | tools/build/NQP_REVISION:
[release] bump NQP revision
19:43
kudo/nom: 77defe7 | masak++ | VERSION:
[release] bump VERSION
p: e8a7719 | jonathan++ | docs/qast.markdown:
Document more of QAST.
19:51
19:52 sivoais joined
dalek kudo/nom: adc2127 | masak++ | docs/release_guide.pod:
[docs/release_guide.pod] some future release dates
20:16
kudo/nom: ee7dfef | duff++ | docs/release_guide.pod:
Move masak's release from the future to the past
20:18
21:10 sivoais joined
dalek kudo/nom: 00533a4 | duff++ | CREDITS:
Add IRC name to CREDITS
21:25
kudo/nom: ef228dd | duff++ | tools/contributors.pl:
Minor improvement to contributors.pl
22:14 benabik joined 22:16 benabik_ joined 22:21 benabik_ joined
chekkaa oh, benabik 22:24
I ironed out all the display bugs I could find on the new drupal 6 site
www.parrot.org:8082/
let me know if you can find anything else that needs fixing
if there is nothing else, we can push it to production soon
benabik chekkaa: the list in the sidebar on www.parrot.org:8082/resources.html looks odd. (Not the user sidebar, but I think one for the page.) 22:25
chekkaa I could have sworn I fixed that 22:26
benabik Same on /foundation.
chekkaa perhaps it's a caching issue
let me look at it
benabik chekkaa: Other than that, it looks good to me. I'm not familiar with every corner of the site though. 22:27
chekkaa you're the only one who responded to me though :)
benabik I lurk a lot and you keep bringing it up when I have a moment of free time. 22:28
chekkaa benabik: should be fixed 22:39
benabik chekkaa++
(Meaning yes)
chekkaa all right, so then when you guys are ready, I can update the test site's database to catch some of the recent activity from the last few days and then start pointing the main site at it 22:43
benabik Will post that to -dev 22:45
Sent 22:48
chekkaa thanks 22:50
23:21 ilbot2 joined
moderator Parrot 4.8.0 "Spix's Macaw" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
23:23 Psyche^ joined
rurban chekkaa++ I like it. 23:27
Coke: SREG is the location of an $S0, see src/call/context.c. The S at the end. REG_STR() accesses them. SREG is REG_STR(interp, cur_opcode[i]) 23:31
imcc handles its own copy of registers in memory, the SymReg* 23:32
A SymReg has a type 'U' for example. the SREG not. imcc is much better on representing and optimizing strings than the parrot vm. 23:33
23:49 whiteknight joined