--Apple-Mail=_53BF4598-685B-4A72-B7D6-7646756B91D6
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_76CC015E-4F7C-4022-A98E-907F2696F7FF"


--Apple-Mail=_76CC015E-4F7C-4022-A98E-907F2696F7FF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


Some problem with ruby clone, it is different between  one-dimensional =
array and  two-dimensional array.like below!

irb(main):001:0> arr_a =3D [1,2,3]
=3D> [1, 2, 3]
irb(main):002:0> arr_b =3D arr_a.clone
=3D> [1, 2, 3]
irb(main):003:0> arr_a.object_id =3D=3D arr_b.object_id
=3D> false
irb(main):004:0> arr_b[0] =3D 4
=3D> 4
irb(main):005:0> arr_b
=3D> [4, 2, 3]
irb(main):006:0> arr_a
=3D> [1, 2, 3]
irb(main):007:0> arr_a =3D [[1,2,3],[4,5,6]]
=3D> [[1, 2, 3], [4, 5, 6]]
irb(main):008:0> arr_b =3D arr_a.clone
=3D> [[1, 2, 3], [4, 5, 6]]
irb(main):009:0> arr_a.object_id =3D=3D arr_b.object_id
=3D> false
irb(main):010:0> arr_b[0][0] =3D 7
=3D> 7
irb(main):011:0> arr_b
=3D> [[7, 2, 3], [4, 5, 6]]
irb(main):012:0> arr_a
=3D> [[7, 2, 3], [4, 5, 6]]

 one-dimensional not change original array, but  two-dimensional change =
the original array!
why?=

--Apple-Mail=_76CC015E-4F7C-4022-A98E-907F2696F7FF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div><br class=3D""></div>Some problem with ruby clone, it is =
different between &nbsp;one-dimensional array and &nbsp;two-dimensional =
array.like below!<div class=3D""><br class=3D""></div><div class=3D""><div=
 class=3D"">irb(main):001:0&gt; arr_a =3D [1,2,3]</div><div =
class=3D"">=3D&gt; [1, 2, 3]</div><div class=3D"">irb(main):002:0&gt; =
arr_b =3D arr_a.clone</div><div class=3D"">=3D&gt; [1, 2, 3]</div><div =
class=3D"">irb(main):003:0&gt; arr_a.object_id =3D=3D =
arr_b.object_id</div><div class=3D"">=3D&gt; false</div><div =
class=3D"">irb(main):004:0&gt; arr_b[0] =3D 4</div><div class=3D"">=3D&gt;=
 4</div><div class=3D""><font color=3D"#e32400" =
class=3D"">irb(main):005:0&gt; arr_b</font></div><div class=3D""><font =
color=3D"#e32400" class=3D"">=3D&gt; [4, 2, 3]</font></div><div =
class=3D""><font color=3D"#e32400" class=3D"">irb(main):006:0&gt; =
arr_a</font></div><div class=3D""><font color=3D"#e32400" class=3D"">=3D&g=
t; [1, 2, 3]</font></div><div class=3D"">irb(main):007:0&gt; arr_a =3D =
[[1,2,3],[4,5,6]]</div><div class=3D"">=3D&gt; [[1, 2, 3], [4, 5, =
6]]</div><div class=3D"">irb(main):008:0&gt; arr_b =3D =
arr_a.clone</div><div class=3D"">=3D&gt; [[1, 2, 3], [4, 5, =
6]]</div><div class=3D"">irb(main):009:0&gt; arr_a.object_id =3D=3D =
arr_b.object_id</div><div class=3D"">=3D&gt; false</div><div =
class=3D"">irb(main):010:0&gt; arr_b[0][0] =3D 7</div><div =
class=3D"">=3D&gt; 7</div><div class=3D""><font color=3D"#e32400" =
class=3D"">irb(main):011:0&gt; arr_b</font></div><div class=3D""><font =
color=3D"#e32400" class=3D"">=3D&gt; [[7, 2, 3], [4, 5, =
6]]</font></div><div class=3D""><font color=3D"#e32400" =
class=3D"">irb(main):012:0&gt; arr_a</font></div><div class=3D""><font =
color=3D"#e32400" class=3D"">=3D&gt; [[7, 2, 3], [4, 5, =
6]]</font></div></div><div class=3D""><font color=3D"#e32400" =
class=3D""><br class=3D""></font></div><div =
class=3D"">&nbsp;one-dimensional not change original array, but =
&nbsp;two-dimensional change the original array!</div><div =
class=3D"">why?</div></body></html>=

--Apple-Mail=_76CC015E-4F7C-4022-A98E-907F2696F7FF--

--Apple-Mail=_53BF4598-685B-4A72-B7D6-7646756B91D6
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMgTCCBjQw
ggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDE1NVoX
DTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFy
dENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOrlr6KMoOMpohBllVHrdRvEg/q6r8jR+EK
75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSMzR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC
+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxD
z2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSDkOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr
/+N2JLKutIxMYqQOJebr/f/h5t95m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0w
ggGpMA8GA1UdEwEB/wQFMAMBAf8w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