www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - std.concurrency, speed, etc. (part 2)

attaching more files...
begin 644 PrettyPrint.d

M('-T9"YT>7!E8V]N<SL-"FEM<&]R="!S=&0N<W1R:6YG.PT*:6UP;W)T('-T


M:6YT6UT 8V]L=6UN7W=I9'1H<RP =6EN="!B971W965N+"!S=')I;F< 9FEL

M8V  *'<[8V]L=6UN7W=I9'1H<RD-"B` ("!A+G!U="AR97!E870H9FEL;&5R


M871T9610<FEN="A4+BXN*2AI;B!I;G1;72!C;VQU;6Y?=VED=&AS+"!I;B!I
M;G0 8F5T=V5E;BP :6X 2G5S=&EF>2!J=7-T:69Y+"`-" D)"2` ("!I;B!S

M=6UN7W=I9'1H<RYL96YG=&  /3T 9F]R;6%T<RYL96YG=& I.R`O+R!S:&]U
M;&0 =&AI<R!B92!A;B`B:6XB(&-O;G1R86-T/PT*("!E;F9O<F-E*&-O;'5M
M;E]W:61T:',N;&5N9W1H(#T](&%R9W,N;&5N9W1H*3L +R\ <VAO=6QD('1H

M:BYL96YG=&  /2!C;VQU;6Y?=VED=&AS+FQE;F=T:#L-"B` :EM=(#T :G5S
M=&EF>3L-"B` <F5T=7)N($9O<FUA='1E9%!R:6YT*&-O;'5M;E]W:61T:',L
M8F5T=V5E;BQJ+&9O<FUA=',L87)G<RD[("\O(&9O<G=A<F0 =&\ 9G5L;"!V

M9%!R:6YT*%0N+BXI*&EN(&EN=%M=(&-O;'5M;E]W:61T:',L(&EN('5I;G0 
M8F5T=V5E;BP :6X 2G5S=&EF>5M=(&IU<W1I9GDL(`T*"0D)("!I;B!S=')I

M7W=I9'1H<RYL96YG=&  /3T 9F]R;6%T<RYL96YG=& I.R`O+R!S:&]U;&0 
M=&AI<R!B92!A;B`B:6XB(&-O;G1R86-T/PT*("!E;F9O<F-E*&-O;'5M;E]W
M:61T:',N;&5N9W1H(#T](&IU<W1I9GDN;&5N9W1H*3L +R\ <VAO=6QD('1H

M=&AS+FQE;F=T:"`]/2!A<F=S+FQE;F=T:"D[("\O('-H;W5L9"!T:&ES(&)E



M("` (&$N<'5T*&9O<FUA=$%N9%!L86-E*&-O;'5M;E]W:61T:'-;:UTL:G5S
M=&EF>5MK72QF;W)M871S6VM=+&%R9RDI.PT*("` ("LK:SL-"B` ("!I9B`H
M:SQN=6U?8V]L=6UN<RD-"B` ("` (&$N<'5T*')E<&5A=" B("(L8F5T=V5E

M=&AE(&9O<FUA='1I;F< =V]R:R!T;R!B=6EL="UI;B!F;W)M871T9617<FET
M92!F=6YC=&EO; T*<')I=F%T92!S=')I;F< 9F]R;6%T=&5D*%0I*&EN('-T



M;0T*<')I=F%T92!S=')I;F< 9F]R;6%T06YD4&QA8V4H5"DH:6X =6EN="!W
M:61T:"P :6X 2G5S=&EF>2!J=7-T:69Y+"!I;B!S=')I;F< 9FUT+"!I;B!4
M(&1A=&$I(`T*>PT*("!D96)U9R`H,2D >R!W<FET969L;B B9D%0*"5S+"5S
M+"5S+"5S*2(L=VED=& L:G5S=&EF>2QF;70L9&%T82D[('T-"B` 875T;R!F


M<F]W(&YE=R!%>&-E<'1I;VXH(F9O<FUA='1E9"!D871A(&ES(&QA<F=E<B!T
M:&%N(&-O;'5M;B!W:61T:"XB*3L-" T*("!S=VET8V  *&IU<W1I9GDI(`T*
M("` ('L-"B` ("!C87-E($IU<W1I9GDN4CH-"B` ("` (')E='5R;B!R97!E

M<W1I9GDN0SH-"B` ("` ("!R971U<FX <F5P96%T*"( (BQS<&%C97,O,BD 

M("!B<F5A:SL-"B` ("!C87-E($IU<W1I9GDN3#H-"B` ("` (')E='5R;B!F

`
end
begin 644 results.txt
M"D%L;"!T:6UE<R!I;B!M:6-R;W-E8V]N9', =6YL97-S(&]T:&5R=VES92!S
M<&5C:69I960N"CQM:6X^(&%N9"`\;6%X/B!A<F4 879E<F%G97, ;W9E<B!F

M5$$ /2!);G1E<FYA;&QY(%-Y;F-H<F]N:7IE9"P 3&EN:V5D($QI<W0 4W1O
M<F%G92P 1DE&3RP *$1E*4%L;&]C871E('9I82`H1T,I;F5W"DE3+$Q,+$8L
M1DP /2!);G1E<FYA;&QY(%-Y;F-H<F]N:7IE9"P 3&EN:V5D($QI<W0 4W1O
M<F%G92P 1DE&3RP 4F5C>6-L92!U<V5D(&YO9&5S('9I82!F<F5E;&ES="X*
M1BQ,3"Q,1B`]($9)1D\Z($QO8VL 1G)E92`H=7-I;F< 8V%S("8 2%!S*2P 
M=7-I;F< 82!L:6YK960 ;&ES="!A<R!S=&]R86=E+ I-4"PL1B`]($UE<W-A
M9V4 4&%S<VEN9RP 56YK;F]W;B!S=&]R86=E+"!&249/" I$871A('!A8VMA
M9V4 :7, 9'5M;7D <&%Y;&]A9"P 82!T:6UE<W1A;7`L('-E;F1E<B!)1"!A
M;F0 <V5Q=65N8V4 (RX (%!A>6QO860 :7, <VUA;&Q?;65S<V%G92`H4&%C
M:V5T('-I>F4],3$V(&)Y=&5S*2X*"C$ <')O9'5C97(H<RD 96%C:"!P<F]D
M=6-I;F< ,3` <&%C:V5T<R!A="!M87  <F%T92!W:71H(&YO(&II='1E<CH*
M"B` (%%U975E("` ("` (%1O="!S("` ("` ("!A=F< ("` ("` ("` <V0 
M("` ("` ("!M:6X ("` ("` ("!M87  ("` ("` (#QM:6X^("` ("` (#QM
M87 ^("` "E]?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?
M7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?




M,C< ("` ("` ("` ,34 ("` ("` ("` ,C<*1BQ,3"Q,1B` ("` ("` ,"XP




M9'5C97(H<RD 96%C:"!P<F]D=6-I;F< ,3` <&%C:V5T<R!A="!M87  <F%T
M92!W:71H(&YO(&II='1E<CH*"B` (%%U975E("` ("` (%1O="!S("` ("` 
M("!A=F< ("` ("` ("` <V0 ("` ("` ("!M:6X ("` ("` ("!M87  ("` 
M("` (#QM:6X^("` ("` (#QM87 ^("` "E]?7U]?7U]?7U]?("!?7U]?7U]?
M7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?
M7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("`*25,L3$PL1BQ402` 








M("` (#DN-
M('!A8VME=', 870 ,3`P('!K=',O<R`H=&]T86PI('=I=&  ,"!U<R!J:71T
M97(Z" H ("!1=65U92` ("` ("!4;W0 <R` ("` ("` 879G("` ("` ("` 
M('-D("` ("` ("` ;6EN("` ("` ("` ;6%X("` ("` ("`\;6EN/B` ("` 
M("`\;6%X/B` (`I?7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?
M7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?
M7U]?7R` 7U]?7U]?7U]?7R` "DE3+$Q,+$8L5$$ ("` ("` ("` ("`T("` 




M("` ("` ("`T("` ("` ("` ,BXU("` ("` ("` ,2XW("` ("` ("` ("`Q





M92` ("` ("!4;W0 <R` ("` ("` 879G("` ("` ("` ('-D("` ("` ("` 
M;6EN("` ("` ("` ;6%X("` ("` ("`\;6EN/B` ("` ("`\;6%X/B` (`I?
M7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?
M7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?

M("` ("` ."XS("` ("` ("` ("`R("` ("`Q+C-E*S`R("` ("` ("` -RXV




M("` ("` ("` ("`Q("` ("`R+C)E*S`R"DU0+"Q&("` ("` ("` ("` ("`T



M=&]T86PI('=I=&  ,"!U<R!J:71T97(Z" H ("!1=65U92` ("` ("!4;W0 
M<R` ("` ("` 879G("` ("` ("` ('-D("` ("` ("` ;6EN("` ("` ("` 
M;6%X("` ("` ("`\;6EN/B` ("` ("`\;6%X/B` (`I?7U]?7U]?7U]?7R` 
M7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?
M7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` 7U]?7U]?7U]?7R` "DE3+$Q,

M("` ("` ("`Q("` ("`Q+C)E*S`T("` ("` ("` -2XR("` ("`Q+C1E*S`R



M("`S+C)E*S`R("` ("` ("` ("`P("` ("`T+C5E*S`T("` ("` ("`P+CDY
M("` ("`R+C5E*S`R"DU0+"Q&("` ("` ("` ("` ("`T+C4T("` ("` ("` 

M("` .2XY("` ("`S+C-E*S`S" HT('!R;V1U8V5R*',I(&5A8V  <')O9'5C

M:"`P('5S(&II='1E<CH*"B` (%%U975E("` ("` (%1O="!S("` ("` ("!A
M=F< ("` ("` ("` <V0 ("` ("` ("!M:6X ("` ("` ("!M87  ("` ("` 
M(#QM:6X^("` ("` (#QM87 ^("` "E]?7U]?7U]?7U]?("!?7U]?7U]?7U]?
M("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?
M7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("`*25,L3$PL1BQ402` ("` 
M("` (#DN









M='1E<CH*"B` (%%U975E("` ("` (%1O="!S("` ("` ("!A=F< ("` ("` 
M("` <V0 ("` ("` ("!M:6X ("` ("` ("!M87  ("` ("` (#QM:6X^("` 
M("` (#QM87 ^("` "E]?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?
M7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?7U]?7U]?("!?7U]?










`
end
Feb 04 2011