Skip to content

Commit

Permalink
deploy: db69e28
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Oct 18, 2024
1 parent 0382a67 commit 139c672
Show file tree
Hide file tree
Showing 223 changed files with 228 additions and 228 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!doctype html><html lang=fa><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#343a40"><meta name=color-scheme content="light dark"><meta property="og:url" content="https://book.gofarsi.ir/404.html"><meta property="og:site_name" content="زبان گو فارسی"><meta property="og:title" content="404 Page not found"><meta property="og:locale" content="fa"><meta property="og:type" content="website"><title>404 Page not found | زبان گو فارسی</title>
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=stylesheet href=/book.min.cba1e03d5bf2ea4ff9081b6d1aa1e64244b7d6ef176ee2809753f779e82d2e11.css integrity="sha256-y6HgPVvy6k/5CBttGqHmQkS31u8XbuKAl1P3eegtLhE=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/fa.search.min.b97bd800ed699dd49030024f28be40303eac2fdb40c494639643a57a8da061a7.js integrity="sha256-uXvYAO1pndSQMAJPKL5AMD6sL9tAxJRjlkOleo2gYac=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><link rel=stylesheet href=prism.css><meta name=keywords content><link href=https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css rel=stylesheet type=text/css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css crossorigin=anonymous><link rel=alternate type=application/rss+xml href=https://book.gofarsi.ir//feed.xml title="زبان گو فارسی"><script async src="https://www.googletagmanager.com/gtag/js?id=G-ZE44Q8PZDW"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-ZE44Q8PZDW")</script><script>var html=document.documentElement;localStorage.getItem("themeMode")=="dark"&&html.setAttribute("data-theme","dark"),localStorage.getItem("themeMode")=="light"&&html.setAttribute("data-theme","light")</script><style>.not-found{text-align:center}.not-found h1{margin:.25em 0 0;opacity:.25;font-size:40vmin}</style></head><body><main class="flex justify-center not-found"><div><h1>404</h1><h2>Page Not Found</h2><h3><a href=/>زبان گو فارسی</a></h3></div></main><button onclick=topFunction() id=myBtn title="رفتن به بالا" class="fas fa-solid fa-arrow-up"></button>
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png><link rel=stylesheet href=/book.min.cba1e03d5bf2ea4ff9081b6d1aa1e64244b7d6ef176ee2809753f779e82d2e11.css integrity="sha256-y6HgPVvy6k/5CBttGqHmQkS31u8XbuKAl1P3eegtLhE=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/fa.search.min.04fed5c93e1b466323e09b72652231d82d77534601ce8ed12acbeeb6ea79fb30.js integrity="sha256-BP7VyT4bRmMj4JtyZSIx2C13U0YBzo7RKsvutup5+zA=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><link rel=stylesheet href=prism.css><meta name=keywords content><link href=https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css rel=stylesheet type=text/css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css crossorigin=anonymous><link rel=alternate type=application/rss+xml href=https://book.gofarsi.ir//feed.xml title="زبان گو فارسی"><script async src="https://www.googletagmanager.com/gtag/js?id=G-ZE44Q8PZDW"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-ZE44Q8PZDW")</script><script>var html=document.documentElement;localStorage.getItem("themeMode")=="dark"&&html.setAttribute("data-theme","dark"),localStorage.getItem("themeMode")=="light"&&html.setAttribute("data-theme","light")</script><style>.not-found{text-align:center}.not-found h1{margin:.25em 0 0;opacity:.25;font-size:40vmin}</style></head><body><main class="flex justify-center not-found"><div><h1>404</h1><h2>Page Not Found</h2><h3><a href=/>زبان گو فارسی</a></h3></div></main><button onclick=topFunction() id=myBtn title="رفتن به بالا" class="fas fa-solid fa-arrow-up"></button>
<script src=prism.js></script><script>document.getElementById("currentsv").innerHTML=window.location.href</script><script async>var html=document.documentElement,switcher=document.getElementsByClassName("js-toggle")[0];typeof Storage!="undefined"&&((localStorage.getItem("themeMode")=="dark"||document.documentElement.getAttribute("data-theme")=="dark")&&switcher.classList.add("js-toggle--checked"),switcher.classList.add("js-toggle--focus")),switcher.addEventListener("click",function(){this.classList.toggle("js-toggle--checked"),this.classList.add("js-toggle--focus"),this.classList.contains("js-toggle--checked")?(html.setAttribute("data-theme","dark"),localStorage.setItem("themeMode","dark")):(html.setAttribute("data-theme","light"),localStorage.setItem("themeMode","light"))})</script><script>let mybutton=document.getElementById("myBtn");window.onscroll=function(){scrollFunction()};function scrollFunction(){document.body.scrollTop>20||document.documentElement.scrollTop>20?mybutton.style.display="block":mybutton.style.display="none"}function topFunction(){document.body.scrollTop=0,document.documentElement.scrollTop=0}</script></body></html>
2 changes: 1 addition & 1 deletion changes-log/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-array/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-basic-types/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-built-in-keywords-identifiers/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-builtins/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-defer-panic-recovery/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-for/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-function/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-if-switch/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-map/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-operators/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-package/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-string-formatting/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-variables-and-consts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/go-zero-values/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-1/structure-of-go-code/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-10/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-11/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-addresses/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-clients/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-consensus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-cryptography/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-in-real-world/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-innovation/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-miners/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-network/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-programming/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-structure/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-transactions/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin-wallets/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/bitcoin/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/bitcoin/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-accounts/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-api-and-sdk/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-architecture/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-blocks/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-cryptography/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-forking/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-genesis/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-history/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-monitoring/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-p2p-network/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-privacy/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-scale/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-security/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain-type/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/blockchain/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/blockchain/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/abi-and-bin-file/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-accounts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-blocks/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-consensus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-cryptography/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-keys-and-addresses/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-network/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-nodes-and-miners/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-smart-contracts/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum-virtual-machine/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/ethereum/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/event-logs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/geth/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/go-ethereum/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/protocol-swarm-and-whisper/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/signature/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/transactions-on-ethereum/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/ethereum/work-with-accounts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-accounts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-addresses-and-keys/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-client/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-consensus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-cryptography/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-roadmap/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus-smart-contracts/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-12/pactus/pactus/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/casting-vs-conversion/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/error-handling/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/interface/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/method/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/pointer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/struct/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-2/type-embedding/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-atomic/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-channel/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-concurrency-patterns/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-concurrency-teqniques/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-concurrency/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-context/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-select/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/go-sync-package/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/goroutine-data-race/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/goroutine/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-3/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/build-go-file/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/command-line-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/debugging-go-code/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/effective-go/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions chapter-4/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4389,7 +4389,7 @@ Goroutine: مدیریت نحوه اجرای کد شما بر روی پردازن
4.25.1.2.1 پشته (Stack)
&lt;a class="anchor" href="#425121-%d9%be%d8%b4%d8%aa%d9%87-stack">#&lt;/a>
&lt;/h4>
&lt;p>با اصول اولیه شروع کنیم. Go می‌تواند حافظه را در یکی از دو مکان تخصیص دهد: پشته یا هیپ. هر goroutine پشته خاص خود را دارد که یک ناحیه پیوسته از حافظه است. علاوه بر این، یک ناحیه بزرگ از حافظه وجود دارد که بین goroutineها به اشتراک گذاشته می‌شود و به آن &lt;span class="tooltip" data-tooltip="اheap" ontouchend="toggleTooltip(this)">هیپ&lt;/span>
&lt;p>با اصول اولیه شروع کنیم. Go می‌تواند حافظه را در یکی از دو مکان تخصیص دهد: پشته یا هیپ. هر goroutine پشته خاص خود را دارد که یک ناحیه پیوسته از حافظه است. علاوه بر این، یک ناحیه بزرگ از حافظه وجود دارد که بین goroutineها به اشتراک گذاشته می‌شود و به آن &lt;span class="tooltip" data-tooltip="heap" ontouchend="toggleTooltip(this)">هیپ&lt;/span>
می‌گویند. این حالت را می‌توان در تصویر زیر مشاهده کرد.&lt;/p>
&lt;center>&lt;a href="#">
&lt;img src="../../assets/img/content/chapter4/profiling/5.png" alt="sample heap">
Expand Down Expand Up @@ -4674,9 +4674,9 @@ Goroutine: مدیریت نحوه اجرای کد شما بر روی پردازن
4.25.2.2 پروفایلر حافظه (Memory)
&lt;a class="anchor" href="#42522-%d9%be%d8%b1%d9%88%d9%81%d8%a7%db%8c%d9%84%d8%b1-%d8%ad%d8%a7%d9%81%d8%b8%d9%87-memory">#&lt;/a>
&lt;/h3>
&lt;p>پروفایلر حافظه در Go می‌تواند به شما کمک کند تا شناسایی کنید کدام بخش‌های کد شما دارای تعداد زیادی تخصیصات حافظه در هپ (heap) هستند و همچنین چند تا از این تخصیصات در آخرین جمع‌آوری زباله (garbage collection) هنوز در دسترس بودند. به همین دلیل، پروفایل تولید شده توسط پروفایلر حافظه معمولاً به‌عنوان پروفایل هپ نیز شناخته می‌شود.&lt;/p>
&lt;p>مدیریت حافظه هپ معمولاً مسئول حدود 20-30% از زمان CPU مصرفی توسط فرآیندهای Go است. علاوه بر این، حذف تخصیصات هپ می‌تواند تأثیرات ثانویه‌ای داشته باشد که بخش‌های دیگر کد شما را به‌دلیل کاهش مقدار هدر رفت کش (cache thrashing) که در هنگام اسکن هپ توسط جمع‌آورنده زباله (garbage collector) رخ می‌دهد، سریع‌تر می‌کند. به این معنی که بهینه‌سازی تخصیص‌های حافظه می‌تواند معمولاً بازگشت بهتری نسبت به بهینه‌سازی مسیرهای کد وابسته به CPU در برنامه شما داشته باشد.&lt;/p>
&lt;p>⚠️ پروفایلر حافظه تخصیصات استک را نشان نمی‌دهد زیرا این‌ها به‌طور کلی بسیار ارزان‌تر از تخصیصات هپ هستند. برای اطلاعات بیشتر به بخش جمع‌آورنده زباله مراجعه کنید.&lt;/p>
&lt;p>پروفایلر حافظه در Go می‌تواند به شما کمک کند تا شناسایی کنید کدام بخش‌های کد شما دارای تعداد زیادی تخصیصات حافظه در هیپ (heap) هستند و همچنین چند تا از این تخصیصات در آخرین جمع‌آوری زباله (garbage collection) هنوز در دسترس بودند. به همین دلیل، پروفایل تولید شده توسط پروفایلر حافظه معمولاً به‌عنوان پروفایل هیپ نیز شناخته می‌شود.&lt;/p>
&lt;p>مدیریت حافظه هیپ معمولاً مسئول حدود 20-30% از زمان CPU مصرفی توسط فرآیندهای Go است. علاوه بر این، حذف تخصیصات هیپ می‌تواند تأثیرات ثانویه‌ای داشته باشد که بخش‌های دیگر کد شما را به‌دلیل کاهش مقدار هدر رفت کش (cache thrashing) که در هنگام اسکن هیپ توسط جمع‌آورنده زباله (garbage collector) رخ می‌دهد، سریع‌تر می‌کند. به این معنی که بهینه‌سازی تخصیص‌های حافظه می‌تواند معمولاً بازگشت بهتری نسبت به بهینه‌سازی مسیرهای کد وابسته به CPU در برنامه شما داشته باشد.&lt;/p>
&lt;p>⚠️ پروفایلر حافظه تخصیصات استک را نشان نمی‌دهد زیرا این‌ها به‌طور کلی بسیار ارزان‌تر از تخصیصات هیپ هستند. برای اطلاعات بیشتر به بخش جمع‌آورنده زباله مراجعه کنید.&lt;/p>
&lt;p>شما می‌توانید پروفایلر حافظه را از طریق API های مختلف کنترل کنید:&lt;/p>
&lt;ul>
&lt;li>&lt;code>go test -memprofile mem.pprof&lt;/code> تست‌های شما را اجرا می‌کند و پروفایل حافظه را در فایلی به نام &lt;code>mem.pprof&lt;/code> می‌نویسد.&lt;/li>
Expand Down
2 changes: 1 addition & 1 deletion chapter-4/go-code-rules/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-commentry/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-garbage-collector/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-generator/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-mod/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-plugin/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-reflection/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-regular-expressions/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/go-stringer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-abstraction/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-encapsulation/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-inheritance/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-overriding/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/go-polymorphism/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/oop/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions chapter-4/profiling/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/tracing/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/vendor/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-csv-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-environment-variable/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-ini-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-json-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-toml-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/work-with-yaml-file-in-go/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-4/workspace/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-http-client-advanced/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-http-client-begginer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-http-server-advanced/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-http-server-begginer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-quic-prtoocol/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-tcp-server-advanced/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-tcp-server-begginer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-udp-server-advanced/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/go-udp-server-begginer/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-5/network-basic/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-6/go-generic-simple/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-6/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-7/go-test/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-7/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-8/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/anti-pattern/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/behavioral-patterns/go-state-pattern/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/behavioral-patterns/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/cloud-native-patterns/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/concurrency-patterns/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/creational-patterns/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/solid-principle-in-golang/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/structural-patterns/go-bridge-pattern/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/structural-patterns/go-facade-pattern/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/structural-patterns/go-proxy-pattern/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-9/structural-patterns/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion history/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 139c672

Please sign in to comment.