TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

FC8 – Faster 68K Decompression (2016)

68 点作者 electricant大约 1 年前

2 条评论

dansalvato大约 1 年前
I&#x27;m working on a game for Amiga (another 68k-based platform) and settled on ZX0 to decompress assets on the fly: <a href="https:&#x2F;&#x2F;github.com&#x2F;einar-saukas&#x2F;ZX0">https:&#x2F;&#x2F;github.com&#x2F;einar-saukas&#x2F;ZX0</a><p>I was originally using LZ4, but I switched to ZX0 after learning that it can do in-place decompression, which means I don&#x27;t have to allocate separate memory for the compressed data. I&#x27;m very happy with the compression ratio, and decompression of large assets (~48kb) only takes a few frames on a 7MHz 68000.<p>Also of note is LZ4W, included in Sega Genesis Dev Kit (and discussed in the comments section of OP&#x27;s article), a variant of LZ4 that only uses word-aligned operations. That makes it much faster on the 68000, which can struggle to efficiently handle 8-bit data. More info here: <a href="https:&#x2F;&#x2F;github.com&#x2F;Stephane-D&#x2F;SGDK&#x2F;blob&#x2F;master&#x2F;bin&#x2F;lz4w.txt">https:&#x2F;&#x2F;github.com&#x2F;Stephane-D&#x2F;SGDK&#x2F;blob&#x2F;master&#x2F;bin&#x2F;lz4w.txt</a>
评论 #40211318 未加载
评论 #40205103 未加载
miohtama大约 1 年前
In “faster than memcpy” series we have also Blosch for modern CPUs<p><a href="https:&#x2F;&#x2F;www.blosc.org&#x2F;pages&#x2F;blosc-in-depth&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.blosc.org&#x2F;pages&#x2F;blosc-in-depth&#x2F;</a><p>I have never been able to use Blosch myself. But it sounds really interesting, outperforming RAM. Not sure what are the applications - columnar data processing, Parquet files, etc?
评论 #40204459 未加载
评论 #40204309 未加载