{"id":279935,"date":"2021-01-11T09:27:33","date_gmt":"2021-01-11T01:27:33","guid":{"rendered":"http:\/\/4563.org\/?p=279935"},"modified":"2021-01-16T01:21:53","modified_gmt":"2021-01-15T17:21:53","slug":"%e9%9d%a2%e8%af%95%e8%bf%98%e6%98%af%e4%b8%8d%e5%86%99%e6%88%96%e8%80%85%e5%b0%91%e5%86%99%e5%8d%9a%e5%ae%a2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=279935","title":{"rendered":"\u9762\u8bd5\u8fd8\u662f\u4e0d\u5199\u6216\u8005\u5c11\u5199\u535a\u5ba2"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u9762\u8bd5\u8fd8\u662f\u4e0d\u5199\u6216\u8005\u5c11\u5199\u535a\u5ba2               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : szxczyc <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5199\u4e86\u535a\u5ba2\u88ab\u9762\u8bd5\u5b98\u770b\u5230\u4e86\uff0c\u8fd8\u8bf4\u535a\u5ba2\u4e0d\u9519\uff0c\u6293\u7740\u4e00\u4e2a\u5e95\u5c42\u7684\u70b9\u72c2\u95ee\uff0c\u611f\u89c9\u8981\u7a92\u606f\u4e86\u3002<\/p>\n<p>\u535a\u5ba2\u91cc\u5199\u4e86 Python \u7684\u7ebf\u7a0b\u4e0d\u5b89\u5168\u662f\u56e0\u4e3a i++\uff1b\u7b49 C \u8bed\u8a00\u7684\u5e93\u539f\u751f\u5c31\u4e0d\u662f\u7ebf\u7a0b\u5b89\u5168\u7684\uff0c\u5bfc\u81f4 Python \u4e5f\u4e0d\u662f\u7ebf\u7a0b\u5b89\u5168\u7684\u3002\u7136\u540e\u88ab\u75af\u72c2\u95ee i++\u4f60\u600e\u4e48\u7406\u89e3\u975e\u7ebf\u7a0b\u5b89\u5168\uff1f\u600e\u4e48\u60f3\u7684\uff1f\u4ece\u5e95\u5c42\u7406\u89e3\u89e3\u91ca\u4e00\u4e0b\uff1f\u611f\u89c9\u8981\u6b7b\u4e86<\/p>\n<p>PS\uff1a\u9762\u8bd5\u5b98\u4eba\u5f88\u597d\uff0c\u5c31\u662f\u6211\u592a\u83dc\u4e86\uff0c\u54ed\u4e86\u54ed\u4e86(\u00b4\u2022\u0325\u00a0\u00a0\u032f\u00a0\u2022\u0325`)<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>51<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4938012\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhuangzhuang1988 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938013\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : snxq1995 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5199\u539f\u521b\u6027\u89c2\u70b9\uff0c\u4e0d\u7136\u771f\u6ca1\u610f\u601d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938014\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kasumi20 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             i++\u4e0d\u5b89\u5168\uff0c\u4f60\u4e0d\u4f1a\u52a0\u9501\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938015\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuxu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4\u5b9e\u8bdd\uff0c\u86ee\u96be\u7406\u89e3\u4e3a\u4ec0\u4e48 i++\u4e0d\u662f\u7ebf\u7a0b\u5b89\u5168\u7684\uff0c\u4e5f\u5c31\u662f\u975e\u539f\u5b50\u64cd\u4f5c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938016\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuxu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @liuxu #4 \u9ad8\u7ea7\u8bed\u8a00\u4f7f\u7528\u4e86\u4e34\u65f6\u5185\u5b58\uff0ci \u589e\u52a0\u540e\u518d\u8d4b\u503c\u5230 i \u7684\u5185\u5b58\u4e2d\uff0c\u6240\u4ee5\u975e\u539f\u5b50\u4e86\u3002\u4f46\u662f\u6c47\u7f16\u6709 inc \u6307\u4ee4\uff0c\u7f16\u8bd1\u5668\u6ca1\u4f18\u5316\u5417\uff0c\u8fd8\u662f\u6709\u4ec0\u4e48\u7279\u6b8a\u6027\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938017\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : caiji11 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhuangzhuang1988 \u6211\u611f\u89c9\u5199 blog \u662f\u628a\u81ea\u5df1\u7406\u89e3\u4e86\u7684\u4e1c\u897f \u6bd4\u5982\u8bf4\u8df3\u8868\u7684\u7ed3\u6784 \u6ca1\u611f\u89c9\u6d6a\u8d39\u65f6\u95f4 \u5c31\u662f\u5fd9\u7684\u65f6\u5019\u5c31\u575a\u6301\u4e0b\u6765                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938018\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuxu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @liuxu #5 <\/p>\n<p>\u76f8\u5173\u6587\u7ae0\u8868\u793a i++\u4f1a\u7f16\u8bd1\u6210<br \/>mov ecx,dword ptr [i] <br \/>add ecx,1 <br \/>mov dword ptr [i],ecx ;i \u81ea\u589e<\/p>\n<p>\u6240\u4ee5\u5c31\u5f88\u5947\u602a\uff0c\u660e\u660e\u53ef\u4ee5 inc &lt;mem&gt;\u7684<\/p>\n<p>inc, dec \u2014 Increment, Decrement<br \/>The inc instruction increments the contents of its operand by one. The dec instruction decrements the contents of its operand by one.<br \/>Syntax<br \/>inc &lt;reg&gt;<br \/>inc &lt;mem&gt;<br \/>dec &lt;reg&gt;<br \/>dec &lt;mem&gt;<\/p>\n<p>Examples<br \/>dec eax \u2014 subtract one from the contents of EAX.<br \/>inc DWORD PTR [var] \u2014 add one to the 32-bit integer stored at location var                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938019\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuxu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @liuxu #7 \u4e0d\u597d\u610f\u601d\uff0c\u6211\u53c8\u67e5\u4e86\u4e00\u4e0b\uff0cinc \u6307\u4ee4\u4e5f\u662f\u975e\u539f\u5b50\u64cd\u4f5c\uff0c\u9700\u8981 LOCK \u524d\u7f00\u624d\u80fd\u539f\u5b50\u64cd\u4f5c\uff0c\u800c\u4e14 inc \u4e0d\u4f1a\u4fee\u6539 cf \u5bc4\u5b58\u5668\uff0cadd \u4f1a\u4fee\u6539<\/p>\n<p>https:\/\/www.felixcloutier.com\/x86\/inc                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938020\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LGA1150 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5149 inc \u6307\u4ee4\u4e5f\u4e0d\u8db3\u4ee5\u4fdd\u8bc1\u7ebf\u7a0b\u5b89\u5168\uff0c\u5982\u679c\u6709\u591a\u4e2a\u6838\u5fc3\u540c\u65f6\u8fd0\u884c\u4e86\u4e00\u4e2a inc \u6307\u4ee4\u5462\uff1f<br \/>\u4f60\u53ef\u4ee5\u53c2\u8003\u4e0b Linux \u5185\u6838\u7684 atomic_inc<br \/>https:\/\/elixir.bootlin.com\/linux\/v5.11-rc3\/source\/tools\/arch\/x86\/include\/asm\/atomic.h#L49                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938021\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : p2pCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u95ee\u9898\u5176\u5b9e\u633a\u5e38\u89c4\uff0c\u633a\u516b\u80a1\u7684\uff0c\u6d89\u53ca\u8bed\u8a00\u7684\u5185\u5b58\u6a21\u578b\u4ee5\u53ca\u64cd\u4f5c\u7cfb\u7edf\u57fa\u7840<br \/>\u4e3b\u5185\u5b58\u548c cpu \u591a\u7ea7\u7f13\u5b58 \u4ee5\u53ca\u5bc4\u5b58\u5668\uff0c\u8ba1\u7b97\u80af\u5b9a\u662f cpu \u8ba1\u7b97\uff0c\u7136\u540e\u8d4b\u503c\u8fd0\u7b97\u540c\u6b65\u5230\u4e3b\u5185\u5b58<br \/>\u4e0a\u9762\u8bf4\u5230\u7684 inc \u547d\u4ee4\uff0c\u8fd9\u4e1c\u897f\u6d89\u53ca\u6027\u80fd\u95ee\u9898\uff0c\u6211\u4e0d\u662f\u79d1\u73ed\u51fa\u751f\uff0c\u5bf9\u6c47\u7f16\u4e86\u89e3\u4e0d\u591a\uff0c\u4f46\u662f\u8fd9\u4e1c\u897f\u672c\u8d28\u548c\u7f13\u5b58\u7cfb\u7edf\u8bbe\u8ba1\u5dee\u4e0d\u591a\uff0c\u5982\u679c\u628a\u76f4\u63a5\u7f16\u8bd1 inc \u8fd9\u79cd\u53ef\u4ee5\u4fdd\u8bc1\u539f\u5b50\u7684\u64cd\u4f5c\uff0c\u80af\u5b9a\u5c31\u727a\u7272\u4e86\u591a\u7ea7\u7f13\u5b58\u7684\u6027\u80fd\uff0c\u5404\u8bed\u8a00\u4e5f\u63d0\u4f9b\u4e86\u5bf9\u5e94\u7684++\u5bf9\u5e94\u7684\u539f\u5b50\u64cd\u4f5c\uff0c\u6bd5\u7adf\u5927\u591a\u6570\u4ee3\u7801 i++\u64cd\u4f5c\uff0c\u4e0d\u662f\u5728\u591a\u7ebf\u7a0b\u73af\u5883\u4e0b\u8fd0\u884c\u7684\uff0c\u76f4\u63a5\u8fd9\u4e48\u7f16\u8bd1\uff0c\u5927\u591a\u6570 i++\u64cd\u4f5c\u6027\u80fd\u90fd\u4f1a\u53d8\u5dee                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938022\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : icyalala <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/godbolt.org\/z\/6rh7c4<br \/>\u770b\u770b\u5728\u7ebf\u6c47\u7f16\u5c31\u77e5\u9053\u4e86<\/p>\n<p>\u535a\u5ba2\u8fd8\u662f\u8981\u5199\u7684\uff0c\u5199\u81ea\u5df1\u5f04\u61c2\u7684\u5185\u5bb9\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938023\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4ece\u7ed3\u679c\u89d2\u5ea6\u6765\u770b\uff0c\u6211\u89c9\u5f97\u8fd9\u91cc\u5176\u5b9e\u53d6\u51b3\u4e8e\u9762\u8bd5\u5b98\u7684\u4e24\u79cd\u5fc3\u6001\u53d6\u5411\u3002<\/p>\n<p>A\uff1a\u8fd9\u4e2a\u4eba\u7b54\u4e0d\u51fa\u7684\u95ee\u9898\u86ee\u591a\u7684\uff0c\u4e0d\u592a\u884c\u3002<br \/>B\uff1a\u8fd9\u4e2a\u4eba\u61c2\u7684\u4e1c\u897f\u86ee\u591a\u7684\uff0c\u8fd8\u4e0d\u9519\u3002<\/p>\n<p>\u5bf9\u4e8e\u524d\u8005\u7684\u8bdd\uff0c\u5728\u610f\u7684\u662f\u7ed9\u4f60 10 \u4e2a\u95ee\u9898\u4f60\u80fd\u56de\u7b54\u51fa\u51e0\u4e2a\uff0c\u90a3\u81ea\u7136\u662f\u6d45\u663e\u7684\u95ee\u9898\u66f4\u597d\u3002<br \/>\u5bf9\u4e8e\u540e\u8005\u7684\u8bdd\uff0c\u5728\u610f\u7684\u662f\u4f60\u6700\u591a\u80fd\u56de\u7b54\u51fa\u591a\u5927\u8303\u56f4\u7684\u95ee\u9898\uff0c\u90a3\u5f53\u4ed6\u63d0\u51fa\u66f4\u6df1\u7684\u95ee\u9898\u7684\u65f6\u5019\uff0c\u5176\u5b9e\u6f5c\u610f\u8bc6\u4e2d\u5df2\u7ecf\u8ba4\u4e3a\u4f60\u80fd\u591f\u56de\u7b54\u51fa\u66f4\u6d45\u663e\u7684\u95ee\u9898\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938024\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : musi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u61c2\u90a3\u4e9b\u8bf4\u4e9b\u535a\u5ba2\u662f\u6d6a\u8d39\u65f6\u95f4\u7684\u4eba\u662f\u600e\u4e48\u5199\u535a\u5ba2\u7684\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938025\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : aaronlam <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u8ba4\u771f\u53bb\u5199\u535a\u5ba2\uff0c\u7684\u786e\u662f\u80fd\u4e00\u4e2a\u8ba9\u81ea\u5df1\u4ece\u5934\u5230\u5c3e\u5f04\u61c2\u4e00\u4e2a\u95ee\u9898\u7684\u65b9\u5f0f\uff0c\u4e5f\u662f\u80fd\u9760\u8fd9\u79cd\u65b9\u5f0f\u53bb\u68b3\u7406\u81ea\u5df1\u77e5\u8bc6\u4f53\u7cfb\u3002\u867d\u7136\uff0c\u540e\u9762\u4f1a\u56e0\u4e3a\u8bb0\u5fc6\u66f2\u7ebf\u7684\u95ee\u9898\u800c\u5fd8\u6389\u5927\u90e8\u5206\u7ec6\u8282\u3002\u4f46\u662f\uff0c\u5982\u679c\u56de\u5934\u518d\u53bb\u770b\u4e00\u4e0b\u8fd8\u662f\u80fd\u8fc5\u901f\u628a\u7ec6\u8282\u8f6e\u5ed3\u5efa\u7acb\u8d77\u6765\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938026\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : szxczyc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhuangzhuang1988 \u522b\u7684\u4e0d\u8bf4\uff0c\u5199\u4e00\u4e0b\u535a\u5ba2\u6574\u7406\u4e00\u4e0b\u4e1c\u897f\u987a\u5e26\u5199\u4e2a\u601d\u7ef4\u5bfc\u56fe\uff0c\u8bb0\u5f97\u66f4\u7262\u56fa\u3002\u8fd9\u662f\u771f\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938027\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nightwitch <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/01\/20210115_6001cea86bae6.png\" rel=\"noreferrer\" alt=\"\u9762\u8bd5\u8fd8\u662f\u4e0d\u5199\u6216\u8005\u5c11\u5199\u535a\u5ba2\"><br \/>\u4e0d\u602a\u5199\u535a\u5ba2\uff0c\u5199\u7684\u65f6\u5019\u5199\u7684\u4ec0\u4e48\u4e1c\u897f\u8981\u81ea\u5df1\u53bb\u9a8c\u8bc1\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938028\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : akakidz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u60f3\u5f00\u4e00\u70b9&#8230;\u8bf4\u4e0d\u5b9a\u9762\u8bd5\u5b98\u4e5f\u662f\u770b\u4e86\u4f60\u7684\u535a\u5ba2\u4e4b\u540e\u6076\u8865\u4e86\u4e00\u4e0b\u5462&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938029\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : szxczyc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @akakidz \u60f3\u6cd5\u5f88\u5371\u9669\u54c8\u54c8\u54c8\u54c8\u54c8\u54c8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938030\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : webshe11 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8ddf\u535a\u5ba2\u6ca1\u5173\u7cfb\uff0c\u5c31\u7b97\u6ca1\u535a\u5ba2\uff0c\u626f\u5230\u4e00\u4e9b\u7ec6\u8282\u7684\u70b9\u7167\u6837\u88ab\u6293\u4f4f\u72c2\u95ee<br \/>\u53ea\u8981\u4e0d\u662f\u57f9\u8bad\u73ed\u4e09\u4e2a\u6708\u51fa\u6765\u7684\uff0c\u5bf9\u9762\u8bd5\u7684\u4e1c\u897f\u81ea\u5df1\u6b7b\u78d5\u8fc7\u4e00\u4e9b\uff0c\u591a\u5c11\u5c31\u4e0d\u6015\u9762\u8bd5\u5b98\u6b7b\u78d5\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938031\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gidot <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9762\u8bd5\u5b98\u79c1\u4e0b\u767e\u5ea6\u6076\u8865\uff0c\u9762\u8bd5\u662f\u5185\u5fc3\u6697\u7b11\uff0c\u8fd9\u4e2a\u903c\u4eca\u5929\u88c5\u7684\u6ee1\u5206\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938032\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zsf520zsf <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5c31\u662f\u6015\u9762\u8bd5\u5b98\u770b\u5230\u6211\u535a\u5ba2\u8981\u95ee\u592a\u6df1\u7684\u4e1c\u897f\uff0c\u5c31\u6ca1\u5728\u7b80\u5386\u8d34\u535a\u5ba2\u5730\u5740\uff0c\u7136\u800c\u6211\u535a\u6587\u91cc\u9762\u5f88\u591a\u4e0d\u662f\u5b8c\u5168\u539f\u521b\u7684\uff0c\u65f6\u95f4\u4e45\u4e86\u81ea\u5df1\u4e5f\u5fd8\u4e86&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938033\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rodrick <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9762\u4e4b\u524d\u628a\u535a\u5ba2\u91cc\u6587\u7ae0\u8fc7\u4e00\u904d\uff0c\u89c9\u5f97\u81ea\u5df1\u5fd8\u8bb0\u7684\u6ca1\u641e\u61c2\u7684\u5148\u9690\u85cf\u4e86\uff0c\u9762\u5b8c\u518d\u52a0\u56de\u53bb[\u72d7\u5934]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938034\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Sunnic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4\u7684\u8d8a\u591a\u8d8a\u574f\u4e8b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938035\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yzbythesea <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             i++ \u975e\u7ebf\u7a0b\u5b89\u5168\u4e0d\u662f\u663e\u800c\u6613\u89c1\u3002\u3002\u3002\u6240\u4ee5\u4f60\u90fd\u6ca1\u7406\u89e3\u7ebf\u7a0b\u5b89\u5168\u548c\u539f\u5b50\u64cd\u4f5c\uff0c\u4e3a\u4ec0\u4e48\u8fd8\u5199\u5728\u535a\u5ba2\u6216\u8005\u653e\u5728\u7b80\u5386\u91cc\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938036\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : treblex <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4f1a\u5728\u778e\u5b66\u5176\u4ed6\u8bed\u8a00\u7684\u65f6\u5019 \u6742\u4e03\u6742\u516b\u7684\u5199\u4e00\u7bc7 xx \u5165\u95e8\uff0c\u4ee5\u514d\u4e0b\u6b21\u53c8\u8981\u91cd\u65b0\u5165\u95e8 <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/01\/9kZ3y873-31.png\" alt=\"\u9762\u8bd5\u8fd8\u662f\u4e0d\u5199\u6216\u8005\u5c11\u5199\u535a\u5ba2\"> <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938037\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangyzj <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9762\u8bd5\u5b98\u4e5f\u672a\u5fc5\u61c2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938038\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : towry <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9762\u8bd5\u7ba1\u61c2\u4e0d\u61c2\u4e0d\u91cd\u8981\uff0c\u5c31\u7b97\u4eba\u5bb6\u4e0d\u662f\u5f88\u7cbe\u901a\uff0c\u4f46\u662f\u8fd9\u662f\u573a\u9762\u8bd5\uff0c\u4f60\u53ea\u8981\u80fd\u628a\u9762\u8bd5\u5b98<br \/>\u8bf4\u670d\u5ffd\u60a0\u4f4f\u5c31\u662f\u4f60\u771f\u7684\u5389\u5bb3\u3002<\/p>\n<p>\u6bd4\u5982\u9762\u8bd5\u5b98\u95ee\u4f60 js \u4e2d getOwnProperty \u8fd9\u4e2a\u65b9\u6cd5\u662f\u505a\u5565\u7684\uff0c\u4f60\u652f\u652f\u543e\u543e\u7684\u8bf4\u662f\u505a\u8fd9\u4e2a\u7684\uff0c\u5176\u5b9e\u4f60\u4e0d\u61c2\u3002<br \/>\u5047\u5982\u4f60\u8bf4\u4e0d\u8bb0\u5f97 js \u4e2d\u6709 getOwnProperty \u8fd9\u4e2a\u65b9\u6cd5\uff0c\u4f46\u662f\u6709 hasOwnProperty \u8fd9\u4e2a\u65b9\u6cd5\uff0c\u8fd9\u4e2a\u65b9\u6cd5\u662f&#8230;\u3002<br \/>\u8fd9\u8bf4\u660e\u4f60\u662f\u771f\u7684\u61c2 \/\u7cbe\u901a\u3002<\/p>\n<p>\u4e00\u4e9b\u4eba\u9762\u8bd5\u559c\u6b22\u7ea0\u7ed3\u9762\u8bd5\u5b98\u662f\u4e0d\u662f\u6bd4\u81ea\u5df1\u5389\u5bb3\uff0c\u662f\u4e0d\u662f\u5565\u90fd\u61c2\uff0c\u4eba\u5bb6\u662f\u62db\u4eba\u7684\uff0c\u5c31\u662f\u8981\u62db\u6bd4\u81ea\u5df1\u5389\u5bb3\u7684\u4eba\u7684\u3002<br \/>\u8fd8\u6709\u4e00\u4e9b\u4eba\u8ba8\u8bba\u95ee\u9898\u4e0d\u6293\u95ee\u9898\u6839\u6e90\uff0c\u559c\u6b22\u7ea0\u7ed3\u8868\u9762\u7684\u4e1c\u897f\uff0c\u4ec0\u4e48\u4f60\u4e5f\u4e0d\u61c2\u4e86\u600e\u4e48\u600e\u4e48\u6837\u3002\u4f46\u662f\u5c31\u662f\u4e0d\u53bb\u89e3\u51b3\u95ee\u9898\uff0c\u53bb\u601d\u8003\u6df1\u5c42\u7684\u4e1c\u897f\u3002<\/p>\n<p>\u5199\u535a\u5ba2\u7684\u597d\u5904\u662f\u81ea\u5df1\u5199\u7684\u65f6\u5019\u4f1a\u53bb\u56de\u5fc6\u601d\u8003\uff0c\u5e76\u4e14\u4ee5\u540e\u518d\u770b\u7684\u65f6\u5019\u53ef\u4ee5\u52a0\u6df1\u5370\u8c61\u7406\u89e3\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u9762\u8bd5\u548c\u4f60\u5199\u4e0d\u5199\u535a\u5ba2\u6ca1\u5173\u7cfb\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938039\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MENGKE <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u95ee\u5230\u6211\u4e0d\u61c2\u7684\uff0c\u9762\u8bd5\u7ed3\u675f\u7684\u65f6\u5019\u6211\u90fd\u662f\u8ba9\u9762\u8bd5\u5b98\u7ed9\u6211\u8bb2\u8bb2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938040\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : NerverLibis <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5199\u535a\u5ba2\u662f\u4e3a\u4e86\u6070\u996d\u6302\u5e7f\u544a\u7684\u5566\uff0c\u4e00\u53e5\u8bdd\u8ba9 HR \u8d70                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938041\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : RedrumSherlock <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u867d\u7136\u4e0d\u600e\u4e48\u5199\u535a\u5ba2\uff0c\u4f46\u662f\u6211\u89c9\u5f97\u5199\u535a\u5ba2\u6700\u6709\u7528\u7684\u662f\u628a\u81ea\u5df1\u7406\u89e3\u7684\u4e0d\u5168\u9762\u7684\uff0c\u6d45\u8584\uff0c\u751a\u81f3\u9519\u8bef\u7684\u7684\u7ed9\u7ea0\u6b63\u8865\u5145\uff0c\u548c\u81ea\u5df1\u7528\u4e00\u4e2a\u4e1c\u897f\u4e0e\u6559\u522b\u4eba\u4e00\u4e2a\u4e1c\u897f\u7684\u533a\u522b\u4e00\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938042\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : NexTooo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @aaronlam \u63d0\u5347\u81ea\u6211+1\uff0c\u867d\u7136\u6211\u6ca1\u5199\u535a\u5ba2\uff0c\u4f46\u662f\u6211\u81ea\u5df1\u6574\u7406\u4e86\u77e5\u8bc6\u70b9\u505a\u6210\u7b14\u8bb0\u4e5f\u662f\u4e00\u4e2a\u6548\u679c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938043\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Flymachine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u66f4\u559c\u6b22\u8bb0\u7b14\u8bb0\u800c\u4e0d\u662f\u5199\u535a\u5ba2\u3002\u526a\u85cf\u529f\u80fd\u662f\u771f\u7684\u597d\u4f7f\u3002<br \/>\u535a\u5ba2\u7684\u95ee\u9898\u662f\u5199\u8fd9\u4e1c\u4e1c\u66f4\u591a\u7684\u662f\u7ed9\u522b\u4eba\u770b\u7684\uff0c\u4e0d\u81ea\u89c9\u5c31\u4f1a\u6362\u601d\u7ef4\u65b9\u5f0f\uff0c\u5199\u8d77\u6765\u592a\u7d2f\u4e86\u3002<br \/>\u4f46\u5199\u535a\u5ba2\u662f\u4e2a\u597d\u4e60\u60ef\u3002<br \/>\u6ca1\u5fc5\u8981\u5bf9\u7b54\u4e0d\u4e0a\u6765\u592a\u7d27\u5f20\u3002\u6211\u9762\u8bd5\u7b54\u4e0d\u4e0a\u6765\u7684\u9898\u591a\u4e86\u53bb\u4e86\uff0c\u4e5f\u6ca1\u5f71\u54cd\u5230\u5bf9\u65b9\u5f55\u7528\u6211\u3002<\/p>\n<p>i++\u7684\u95ee\u9898\u53ea\u8981\u7528\u8fc7 C\/C++\u5199\u8fc7\u591a\u7ebf\u7a0b\u5c31\u4f1a\u9047\u5f97\u5230\u3002C\/C++\u6ca1\u6709\u591a\u7ebf\u7a0b\u5b89\u5168\u7279\u6027\u7684\u5e93\u591a\u4e86\u53bb\u4e86\u3002\u5c31\u662f C++\u7684 STL \u5e93\uff0c\u6bd4\u5982 vector \u548c string\uff0c\u90fd\u4e0d\u662f\u7ebf\u7a0b\u5b89\u5168\u7684\u3002\u56e0\u4e3a\u4e00\u65e6\u8003\u8651\u5230\u591a\u7ebf\u7a0b\u5b89\u5168\uff0c\u5c31\u4f1a\u635f\u5931\u8fd0\u884c\u6548\u7387\u3002C\/C++\u5bf9\u6b64\u5f88\u65a4\u65a4\u8ba1\u8f83\uff0c\u8d8a\u662f\u901a\u7528\u7684\u5e93\uff0c\u8d8a\u8ba1\u8f83\u3002\u4e8e\u662f\u4f60\u770b\u5230\u5f88\u591a\u57fa\u4e8e C\/C++\u7684\u9ad8\u7ea7\u8bed\u8a00\uff0c\u6bd4\u5982\u8bf4 PHP\uff0c\u4f1a\u6709\u4e24\u4e2a\u7248\u672c\u2014\u2014Non Thread Safe \u548c Thread Safe\uff0c\u5c31\u662f\u8fd9\u79cd\u60c5\u51b5\u7684\u4f53\u73b0\u3002<\/p>\n<p>\u81f3\u4e8e\u4e0a\u90a3\u4e9b\u4f9d\u8d56\u4e8e\u7f16\u8bd1\u5668\u4f18\u5316\u7684\u505a\u6cd5\uff0c\u8001\u5b9e\u8bf4\u4e0d\u592a\u7b26\u5408\u7f16\u7a0b\u89c4\u8303\u4e2d\u5bf9\u201c\u53ef\u79fb\u690d\u6027\u201d\u7684\u8981\u6c42\u3002\u8bed\u8a00\u6807\u51c6\u91cc\u672a\u6709\u89c4\u5b9a\uff0c\u9700\u8981\u4f9d\u8d56\u4e8e\u7f16\u8bd1\u5668\u5b9e\u73b0\u7684\u884c\u4e3a\uff0c\u5c5e\u4e8e\u201cUndefined Behaviour\u201d (\u672a\u5b9a\u4e49\u884c\u4e3a\uff0c \u7b80\u79f0 UB)\u3002\u8fd9\u79cd\u201c\u9ed1\u79d1\u6280\u201d\u4e0d\u662f\u4e0d\u80fd\u7528\uff0c\u56e0\u4e3a\u786e\u5b9e\u53ef\u4ee5\u8282\u7701\u5f00\u53d1\u7cbe\u529b\uff0c\u63d0\u5347\u8fd0\u884c\u6548\u7387\u3002\u4f46\u4f60\u5fc5\u987b\u8981\u77e5\u9053\u8fd9\u79cd\u4e1c\u897f\u5bf9\u201c\u53ef\u79fb\u690d\u6027\u201d\u7684\u7834\u574f\uff0c\u7136\u540e\u5c0f\u5fc3\u8c28\u614e\u5730\u53bb\u4f7f\u7528\u5b83\u4eec\u3002\u4e00\u822c\u6765\u8bf4\uff0cUB \u80fd\u4e0d\u7528\u6700\u597d\u4e0d\u7528\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938044\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : keakon <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Python \u6ca1\u6709 i++ \u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938045\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Wincer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u8bf4\u7684\u662f `n += 1` \u5427\uff0cn += 1 \u4f1a\u88ab\u89e3\u91ca\u6210\u5148\u8ba1\u7b97 n+1 \u7684\u503c\u4fdd\u5b58\u5728\u4e2d\u95f4\u53d8\u91cf\u91cc\u9762\uff0c\u7136\u540e\u518d\u5c06\u8fd9\u4e2a\u53d8\u91cf\u91cd\u65b0\u8d4b\u503c\u7ed9 n\uff0c\u8fd9\u4e2a\u64cd\u4f5c\u6700\u5c11\u5305\u542b\u4e24\u4e2a\u6b65\u9aa4\uff0c\u81ea\u7136\u4e0d\u662f\u591a\u7ebf\u7a0b\u5b89\u5168\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938046\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kingfalse <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u81ea\u5efa\u535a\u5ba2,\u6708\u5747\u4e00\u7bc7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938047\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guochao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5177\u4f53\u7684\u77e5\u8bc6\u70b9\u7ebf\u7a0b\u5b89\u5168\u8fd9\u4e2a\u5c5e\u4e8e\u516b\u80a1\u4e86\uff0c\u6700\u597d\u7406\u89e3\u4e00\u4e0b\u4ee3\u7801\u6267\u884c\u90fd\u53d1\u751f\u4e86\u4ec0\u4e48\u3002<\/p>\n<p>\u535a\u5ba2\u8fd9\u4e2a\uff0c\u5982\u679c\u662f\u4f5c\u4e3a\u6458\u6284\u672c\uff0c\u662f\u5f88\u6ca1\u6709\u5fc5\u8981\u7684\u3002\u7ecf\u5e38\u80fd\u770b\u5230 CSDN \u4e0a\u9762\u4e00\u5929\u66f4\u65b0 20 \u7bc7\u535a\u5ba2\uff0c\u4e00\u770b\u5185\u5bb9\u90fd\u662f\u6284\u7684\u90a3\u79cd\uff0c\u610f\u4e49\u4e0d\u5927\u3002\u5b9e\u9645\u4e0a\u4e5f\u975e\u5e38\u538c\u6076\u8fd9\u79cd\uff0c\u5305\u62ec\u4e0d\u4f5c\u4e3a\u7684\u5e73\u53f0\uff0c\u56e0\u4e3a\u8fd9\u79cd\u5783\u573e\u751f\u4ea7\u8005\u7ecf\u5e38\u4f1a\u628a\u6709\u4ef7\u503c\u7684\u4e1c\u897f\u57cb\u8d77\u6765\u3002\u6709\u7684\u535a\u5ba2\u5199\u7684\u975e\u5e38\u968f\u610f\uff0c\u51e0\u884c\u6587\u5b57\uff0c\u6ca1\u6709\u4efb\u4f55\u5177\u4f53\u7684\u4fe1\u606f\uff0c\u4e5f\u4e0d\u5927\u559c\u6b22\uff0c\u56e0\u4e3a\u4fe1\u606f\u603b\u662f\u6709\u9002\u7528\u7684\u573a\u666f\u7684\uff0cA \u89e3\u51b3\u7684\u95ee\u9898\u540c\u6837\u7684\u65b9\u6cd5\u7ed9 B \u4e0d\u4e00\u5b9a\u53ef\u4ee5\u7528\u3002<\/p>\n<p>\u535a\u5ba2\u7684\u610f\u4e49\u5728\u4e8e\u4e24\u70b9\uff0c\u5bf9\u5176\u4ed6\u4eba\u6765\u8bf4\u662f\u5171\u4eab\u77e5\u8bc6\u7684\u91cd\u8981\u7684\u9014\u5f84\uff0c\u5bf9\u4e8e\u81ea\u5df1\u6765\u8bf4\u662f\u91cd\u65b0\u5ba1\u89c6\u3001\u91cd\u65b0\u7406\u89e3\u5b66\u8fc7\u7684\u77e5\u8bc6\u7684\u975e\u5e38\u597d\u7684\u673a\u4f1a\u3002<\/p>\n<p>\u6211\u5bb6\u91cc\u9762\u6211\u7239\u662f\u505a\u571f\u6728\u7684\uff0c\u4ece\u5c0f\u7ed9\u6211\u8bb2\u6570\u5b66\u7269\u7406\u5c31\u662f\uff0c\u5148\u8bb2\u6e05\u695a prerequisite\uff0c\u63d0\u51fa\u95ee\u9898\u4ee5\u540e\u9010\u6b65\u5f15\u5165\u65b0\u7684\u65b9\u6cd5\u6216\u8005\u6982\u5ff5\uff0c\u7136\u540e\u6df1\u5165\uff0c\u6700\u540e\u7559\u51fa\u6765\u4e00\u4e2a\u5f15\u5b50\uff0c\u8ba9\u6211\u81ea\u5df1\u671d\u7740\u66f4\u6df1\u7684\u65b9\u5411\u505a\u5c1d\u8bd5\u3002\u5927\u5b66\u4ee5\u540e\u5f00\u59cb\u7ed9\u522b\u4eba\u8bb2\u4e1c\u897f\uff0c\u591a\u591a\u5c11\u5c11\u53c2\u7167\u4e86\u6211\u7239\u7684\u60f3\u6cd5\uff0c\u90fd\u662f\u5148\u4e00\u70b9\u70b9\u5f80\u56de\u9000\u5230\u5bf9\u65b9\u4e0d\u4f1a\u7684\u5730\u65b9\uff0c\u7136\u540e\u4e00\u70b9\u70b9\u5f15\u51fa\u6765\u65b0\u7684\u4e1c\u897f\u3002\u518d\u5230\u540e\u6765\u5199\u535a\u5ba2\uff0c\u867d\u7136\u5f88\u591a\u4e1c\u897f\u6ca1\u6709\u5199\u51fa\u6765\uff0c\u4f46\u662f\u5b9e\u9645\u6765\u8bf4\u4e00\u7bc7\u535a\u5ba2\u4ece\u60f3\u5230 idea \u5230\u5199\u51fa\u6765\u6587\u7ae0\uff0c\u8bfb\u8d44\u6599\u9700\u8981\u4e09\u5929\u5230\u4e00\u5468\u5199\u53ea\u9700\u8981\u4e00\u5929\u4e24\u5929\uff0c\u9ebb\u70e6\u7684\u53ef\u80fd\u4ece\u60f3\u5230\u95ee\u9898\u5230\u5199\u51fa\u6765\u4e1c\u897f\u9700\u8981\u534a\u5e74\u3002\u6587\u7ae0\u7684\u8bdd\u4e00\u822c\u5c31\u662f\u95ee\u9898\u3001prequisite \u3001\u89e3\u51b3\u65b9\u6cd5\u3001\u603b\u7ed3\u7684\u7ed3\u6784\uff0c\u4f5c\u4e3a\u6280\u672f\u535a\u5ba2\u4e00\u822c\u4e5f\u591f\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938048\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hitmanx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Flymachine \u8bdd\u8bf4\u201c\u8d39\u66fc\u5b66\u4e60\u6cd5\u201d\u7684\u6838\u5fc3\u5c31\u662f\u901a\u8fc7\u5411\u4e00\u4e2a\u4e00\u70b9\u4e0d\u61c2\u7684\u4eba\u89e3\u91ca\u6e05\u695a\u4e00\u4ef6\u4e8b\uff0c\u6765\u7763\u4fc3\u81ea\u5df1\u6574\u7406\u548c\u6d88\u5316\u5b66\u5230\u7684\u77e5\u8bc6\uff0c\u5176\u5b9e\u672c\u8d28\u4e0a\u548c\u5199\u535a\u5ba2\u662f\u4e00\u6837\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938049\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Austaras <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4\u767d\u4e86\u522b\u5199\u81ea\u5df1\u90fd\u6ca1\u641e\u61c2\u7684\u4e1c\u897f\u88c5\u903c\uff0c\u5f88\u96be\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938050\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzzmh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5199\u7684\u90fd\u53ef\u4ee5\u88ab\u95ee\u3002\u3002\u3002\u56e0\u4e3a\u5199\u7684\u90fd\u7279\u522b\u6d45\u663e\uff0c\u4e0d\u592a\u5199\u5e95\u5c42\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938051\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tankren <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u90a3\u4e2a\u662f\u5199\u7684\u8fd8\u662f\u8f6c\u7684\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938052\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : a719031256 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5199\u535a\u5ba2\u7eaf\u7cb9\u662f\u5f53\u8bb0\u4e8b\u672c\u7528\uff0c\u4e1c\u897f\u591a\u4e86\u8bb0\u4e0d\u4f4f\uff0c\u53ea\u80fd\u5199\u9053\u535a\u5ba2\u91cc\uff0c\u9700\u8981\u65f6\u65b9\u4fbf\u67e5\u627e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938053\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sheen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhuangzhuang1988 \u6211\u611f\u89c9\u5199\u535a\u5ba2\u5c31\u662f\u628a\u81ea\u5df1\u7684\u4e00\u4e9b\u79ef\u7d2f\u548c\u7406\u89e3\u603b\u7ed3\u4e00\u4e0b\uff0c\u5f3a\u5316\u8bb0\u5fc6\uff0c\u5f53\u7136\u4f60\u8981\u662f\u8bf4\u90a3\u79cd\u81ea\u5df1\u6ca1\u7528\u8fc7\uff0c\u7f51\u4e0a\u968f\u4fbf\u627e\u7684\u6587\u7ae0\u62fc\u51d1\u7684\u786e\u5b9e\u6ca1\u5565\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938054\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : samin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhuangzhuang1988 <\/p>\n<p>\u8fd9\u8ddf\u8dd1\u6b65\u662f\u4e00\u6837\u7684 \u662f\u957f\u671f\u624d\u53ef\u4ee5\u770b\u51fa\u6548\u679c\u7684\u4e1c\u897f \u4f60\u5199\u535a\u5ba2\u575a\u6301\u4e86\u591a\u4e45 \uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938055\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yamasa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u660e\u767d i++\u7ebf\u7a0b\u4e0d\u5b89\u5168\u8bf4\u660e\u4f60 CS \u57fa\u7840\u9700\u8981\u6076\u8865\uff0c\u771f\u7684\uff1b\u7ecf\u4e0d\u4f4f\u5f80\u5e95\u5c42\u95ee\u7684\u7ecf\u9a8c\uff0c\u4e0d\u8981\u5728\u9762\u8bd5\u7684\u65f6\u5019\u63d0\u3002\u9762\u8bd5\u5c31\u662f\u8fd9\u6837\uff0c\u4f60\u8d8a\u5199\u7cbe\u901a\u4ec0\u4e48\uff0c\u8d8a\u8981\u6709\u5fc3\u7406\u51c6\u5907\uff0c\u4e0d\u8981\u6253\u80bf\u8138\u5145\u80d6\u5b50\uff0c\u4e0d\u4f1a\u5c31\u662f\u4e0d\u4f1a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938056\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruanimal <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             python \u662f\u7ebf\u7a0b\u5b89\u5168\u7684\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938057\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Desiree <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u535a\u5ba2\u53ea\u662f\u5199\u7ed9\u81ea\u5df1\u770b\u7684\uff0c\u672c\u6765\u7ed9\u522b\u4eba\u770b\u5c31\u662f\u9644\u52a0\u5206\uff0c\u8bf4\u6ca1\u7528\u7684\uff0c\u4e5f\u5728\u7406\uff0c\u8bb0\u5f55\u77e5\u8bc6\uff0c\u535a\u5ba2\u53ea\u662f\u4e00\u79cd\u65b9\u5f0f\uff0c\u5e76\u4e0d\u662f\u7ed3\u679c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938058\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lpts007 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ruanimal \u8bf7\u95ee\u4ec0\u4e48\u610f\u601d\uff0c\u4ece\u4ec0\u4e48\u89d2\u5ea6\u7406\u89e3\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938059\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruanimal <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lpts007 \u786e\u5207\u5730\u8bf4\uff0c\u4e0d\u5b8c\u5168\u662f\u7ebf\u7a0b\u5b89\u5168 <\/p>\n<p>https:\/\/stackoverflow.com\/questions\/6319207\/are-lists-thread-safe                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938060\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : keepeye <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u5e94\u8be5\u6d89\u53ca\u5230\u6c47\u7f16\u6307\u4ee4\u975e\u539f\u5b50\u64cd\u4f5c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938061\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lewis89 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @p2pCoder #10 \u4e0d\u7b97 8 \u80a1\u6587\u5427\uff0c\u4f60\u6709\u5174\u8da3\u53ef\u4ee5\u7814\u7a76\u6211 \u8fd9\u4e2a\u535a\u6587\uff0c\u4fdd\u969c \u53ef\u89c1\u6027 \u8fd8\u662f\u6709\u5f88\u591a\u9700\u8981\u77e5\u6653 \u5e76\u7406\u89e3\u7684\u5730\u65b9<br \/>https:\/\/www.cnblogs.com\/jon-winters\/p\/14237940.html                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938062\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Flymachine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hitmanx \u554a\uff0c\u6ca1\u9519\u3002\u4f46\u8fd9\u4e48\u641e\u535a\u5ba2\u592a\u7d2f\u4eba\u4e86\uff0c\u800c\u81ea\u5df1\u8bb0\u7b14\u8bb0\u53ea\u8981\u81ea\u5df1\u80fd\u770b\u5f97\u61c2\u5c31\u884c\u3002\u76f8\u8f83\u4e8e\u535a\u5ba2\uff0c\u6211\u66f4\u559c\u6b22\u5728\u516c\u53f8\u5185\u90e8\u5f00\u5206\u4eab\u4f1a\uff0c\u51c6\u5907\u5468\u671f\u66f4\u957f\uff0c\u66f4\u7cfb\u7edf\uff0c\u8fd8\u6709\u771f\u4eba\u63d0\u95ee\uff0c\u67e5\u6f0f\u8865\u7f3a\u7684\u6548\u679c\u66f4\u597d\u3002\u5c31\u662f\u5468\u671f\u592a\u957f&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u9762\u8bd5\u8fd8\u662f\u4e0d\u5199\u6216\u8005\u5c11\u5199\u535a\u5ba2 \u8cc7\u6df1\u5927\u4f6c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/279935"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=279935"}],"version-history":[{"count":1,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/279935\/revisions"}],"predecessor-version":[{"id":279940,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/279935\/revisions\/279940"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=279935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=279935"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=279935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}