www.digitalmars.com         C & C++   DMDScript  

D - Md5 encoder - md5.d

reply Ward <Ward_member pathlink.com> writes:
The source code is Java, I just converted it to D.
A question is I can't compile it with switch: -O -inline -release, why?


begin 0644 md5.d
M+R\ 360U+F0-"B\O(&IA=F$ <V]U<F-E(&9R;VT :'1T<#HO+V1E=BYW,RYO
M<F<O8W9S=V5B+VIA=F$O8VQA<W-E<R]O<F<O=S-C+W1O;VQS+V-R>7!T+TUD






M"B` ("!S=&%T:6, 8V]N<W0 :6YT(%,R,B`](#D .PT*("` ('-T871I8R!C
M;VYS="!I;G0 4S(S(#T ,30 .PT*("` ('-T871I8R!C;VYS="!I;G0 4S(T
M(#T ,C` .PT*("` ('-T871I8R!C;VYS="!I;G0 4S,Q(#T





M" T*"7-T871I8R!U8GET95LV-%T <&%D9&EN9R`](`T*"5L-" D),' X,"P 
M,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P 
M,"P ,"P ,"P ,"P ,"P ,"P-" D),"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P 
M,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P-
M" D),"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P ,"P 

M;&P .PT*"75I;G0 ("` ("` ('-T871E6UT (#T
M("` ("` 8V]U;G0 ("` /2`P(#L-" EU8GET90D)8G5F9F5R6UT /2!N=6QL
M(#L-" EU8GET90D)9&EG97-T6UT /2!N=6QL(#L-" T*("` ('5I;G0 1BAU

M*2!\(" H?G I("8 >BDI(#L-


M="!Y+"!U:6YT('HI(`T*"7L-" D)<F5T=7)N("AX(%X >2!>('HI(#L-"B` 


M=6EN="` <F]T871E7VQE9G0H=6EN="!X+"!U:6YT(&XI(`T*"7L-" D)<F5T
M=7)N(" H>"`\/"!N*2!\("AX(#X
M("` =6EN="!&1BAU:6YT(&$L=6EN="!B+'5I;G0 8RQU:6YT(&0L=6EN="!X

M("L 86,I(#L-" D)82`](')O=&%T95]L969T*&$L(',I(#L-" D)82`K/2!B
M(#L-" D)<F5T=7)N(&$ .PT*("` ('T-" T*("` ('5I;G0 1T<H=6EN="!A
M+'5I;G0 8BQU:6YT(&,L=6EN="!D+'5I;G0 >"QU:6YT(',L=6EN="!A8RD 



M;G0 9"QU:6YT(' L=6EN="!S+'5I;G0 86,I(`T*"7L-" D)82`K/2`H2"AB
M+"!C+"!D*2`K('  *R!A8RD .PT*"0EA(#T <F]T871E7VQE9G0H82P <RD 

M="!)22AU:6YT(&$L=6EN="!B+'5I;G0 8RQU:6YT(&0L=6EN="!X+'5I;G0 

M(#L-" D)82`](')O=&%T95]L969T*&$L(',I(#L-" D)82`K/2!B(#L-" D)



M/"!L96X[(&DK*RP :B`K/2`T*2`-" D)>PT*"0D ("` ;W5T<'5T6VE=(#T 

M("8 ,'AF9BD /#P ."D-" D)"2!\(" H:6YP=71;;V9F*VHK,ET )B`P>&9F
M*2`\/"`Q-BD-" D)"2!\(" H:6YP=71;;V9F*VHK,UT )B`P>&9F*2`\/"`R

M(&)L;V-K6UTL(&EN="!O9F9S970I(`T*"7L-" D)=6EN="!A("` /2!S=&%T

M('-T871E6S)=(#L-
M>%M=(#T ;F5W('5I;G1;,39=(#L-" T*"0ED96-O9&4 *' L(&)L;V-K+"!O




M+PT*"0EB(#T







M('A;(#E

M+PT*"0EB(#T
M8F4I.R`O*B`Q,B`J+PT*"0EA(#T 1D8 *&$L(&(L(&,L(&0L('A;,3)=+"!3



M-2`J+PT*"0EB(#T



M"6, /2!'1R`H8RP 9"P 82P 8BP >%LQ,5TL(%,R,RP ,' R-C5E-6$U,2D[













M/2!'1R`H9"P 82P 8BP 8RP >%L ,ETL(%,R,BP ,'AF8V5F83-F."D[("\J






M,RP ,' V9#ED-C






M/2!(2"`H82P 8BP 8RP 9"P >%LQ,UTL(%,S,2P ,' R.#EB-V5C-BD[("\J













M/2!)22`H8BP 8RP 9"P 82P >%L -5TL(%,T-"P ,'AF8SDS83`S.2D[("\J




M"6( /2!)22`H8BP 8RP 9"P 82P >%L ,5TL(%,T-"P ,' X-3 T-61D,2D[











M,5T *ST 8CL-" D)<W1A=&5;,ET *ST 8SL-" D)<W1A=&5;,UT *ST 9#L-


M(#L-" D)8V]U;G0 *ST ;&5N(#P


M96Y=(#T
M9F9E<BP ,"D .PT*"0D)9F]R("AI(#T <&%R=$QE;B`[(&D *R`V,R`\(&QE

M:6YD97  /2`P(#L-
M"7T-" D)8G5F9F5R6VEN9&5X("XN(&EN9&5X("L ;&5N("T :5T /2!I;G!U
M=%MI("XN(&QE;ET .PT*("` ('T-" T*("` ('5B>71E6UT 96YD(" I(`T*
M"7L-" D)=6)Y=&4 8FET<UM=(#T ;F5W('5B>71E6SA=(#L-" T*"0EF;W( 
M*&EN="!I(#T ,"`[(&D /"`X(#L
M(#T
M97  (#T

M;F1E>"D .PT*"0EU<&1A=&4 *'!A9&1I;F<L('!A9&QE;BD .PT*"0EU<&1A





M("`](&EN<'5T6VE="0D))B`P>&9F(#L-" D)"6]U='!U=%MJ*S%=(#T *&EN
M<'5T6VE=(#X

M=%MI72`^/B`R-"D))B`P>&9F(#L-" D)?0T*"0ER971U<FX ;W5T<'5T(#L-

M<FEN9VEF>2`H=6)Y=&4 8G5F6UTI(`T*"7L-" D)8VAA<EM=('-B.PT*"0EF
M;W( *&EN="!I(#T
M"2` ("!I;G0 :"`]("AB=69;:5T )B`P>&8P*2`^/B`T(#L-" D)"6EN="!L
M(#T
M("=A)RMH+3$P(#H )S`G*V I(#L-" D)"7-B('X]("AC:&%R*2 H;#XY*2`_
M("=A)RML+3$P(#H )S`G*VPI(#L-" D)?0T*"0ER971U<FX <V( .PT*("` 

M=69F97);72`](&YE=R!U8GET95M"549&15)?4TE:15T .PT*"0EI;G0 (&=O
M="` ("` (#T
M='5R;B!D:6=E<W0 .PT*"0EW:&EL92`H*&=O="`](&EN<'5T+G)E860H8G5F
M9F5R*2D /B`P("D =7!D871E("AB=69F97(L(&=O="D .PT*"0ED:6=E<W0 


M='5R;B!S=')I;F=I9GDH9&EG97-T*3L-" D)96QS92!R971U<FX <W1R:6YG





M9F-D86(X.3L-" D)<W1A=&5;,ET /2`P>#DX8F%D8V9E.PT*"0ES=&%T95LS




M"B` ("!T:&ES("A3=')E86T :6YP=70I(`T*"7L-" D)=&AI<R I.PT*"0ET

M("AC:&%R6UU;72!A<F=S*2`-"GL-" EI9B`H(&%R9W,N;&5N9W1H(#P ,BD 



M;F5W($9I;&4H87)G<UMI72DI(#L-" D)<')I;G1F(" B340U(" E+BIS*2`]

,='5R;B`P.PT*?0T*
`
end
Aug 30 2003
parent "Walter" <walter digitalmars.com> writes:
"Ward" <Ward_member pathlink.com> wrote in message
news:biq8j0$304a$1 digitaldaemon.com...
 The source code is Java, I just converted it to D.
 A question is I can't compile it with switch: -O -inline -release, why?
It actually will complete successfully, it just takes a long time. The optimizer is pretty slow with deeply nested loops.
Sep 13 2003