<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Algorithm - Nhãn - NZQIRC</title><link>https://nzqirc.xyz/tags/algorithm/</link><description>Algorithm - Nhãn - NZQIRC</description><generator>Hugo -- gohugo.io</generator><language>vi</language><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Sun, 09 Aug 2026 08:30:00 +0700</lastBuildDate><atom:link href="https://nzqirc.xyz/tags/algorithm/" rel="self" type="application/rss+xml"/><item><title>Thuật toán tính đa thức dual stable Grothendieck</title><link>https://nzqirc.xyz/posts/computer-science/dual-grothendieck-algorithm/</link><pubDate>Sun, 09 Aug 2026 08:30:00 +0700</pubDate><author>Du Mã</author><guid>https://nzqirc.xyz/posts/computer-science/dual-grothendieck-algorithm/</guid><description><![CDATA[<p>Đa thức <strong>dual Grothendieck</strong> \(g_\lambda(x_1,\dots,x_n)\) xuất phát từ các <a href="https://nzqirc.xyz/posts/math/combinatorics/reverse-plane-partition/" rel=""><em>reverse plane partition</em> (RPP)</a> với quy tắc trọng số đo bằng số cột thay vì số ô. Cách tiếp cận tổ hợp kinh điển thường giải recurrence trên cặp \((\text{Partition}, \text{Powers})\): theo dõi hình Young 2D trên dàn poset dày đặc và duy trì bảng băm rời rạc cho từng đơn thức — mô hình sớm chạm trần hiệu năng vì kiểm tra bao hàm 2D tốn kém và bùng nổ hoán vị biến trên heap.</p>]]></description></item><item><title>Swissmap</title><link>https://nzqirc.xyz/posts/computer-science/swissmap/</link><pubDate>Wed, 06 Nov 2024 15:45:35 +0700</pubDate><author>Du Mã</author><guid>https://nzqirc.xyz/posts/computer-science/swissmap/</guid><description><![CDATA[
<p><a href="https://go-review.googlesource.com/c/go/&#43;/594597" target="_blank" rel="noopener noreffer ">Go 1.24 mặc định sẽ dùng SwissMap</a>, vậy SwissMap là gì? Tại sao nó lại quan trọng?</p>
<!-- ## English Version -->
<!-- SwissMap and SwissTable offer an improved solution for high-performance, memory-efficient hash tables in Golang. -->
<p>SwissMap và SwissTable cung cấp giải pháp cải tiến cho bảng băm hiệu năng cao, tiết kiệm bộ nhớ trong Golang.</p>
<!-- ## Original Problem -->
<!-- In many applications, hash tables play a critical role, especially where rapid data access and minimal memory usage are essential. However, Golang’s built-in map, while convenient for general use, consumes more memory and may not provide the speed required in performance-critical scenarios. -->
<h2 id="vấn-đề-ban-đầu">Vấn đề ban đầu</h2>
<p>Trong nhiều ứng dụng, bảng băm (hash table) đóng vai trò quan trọng, đặc biệt khi cần truy cập dữ liệu với tốc độ cao sử dụng bộ nhớ tối thiểu. Tuy nhiên, bảng băm tích hợp sẵn (built-in map) của Golang, mặc dù thuận tiện cho các trường hợp phổ thông, nó lại tiêu tốn nhiều bộ nhớ hơn và có thể không đủ nhanh cho các tình huống yêu cầu hiệu suất cao (ví dụ DoltDB).</p>]]></description></item></channel></rss>