Gunzip for MSX

페이지 2/11
1 | | 3 | 4 | 5 | 6 | 7

By Grauw

Ascended (8451)

Grauw의 아바타

18-10-2015, 16:45

bore wrote:

I don't know how far you want to go into optimizing the outer code, but if I understood what Reader_ReadBitsInline_2 - 4 is supposed to do you should be able to flip around the rotation direction and save a few cycles there too.

It’s a good improvement I think, it makes the code shorter. However it doesn’t result in much performance improvement, just 1/50th of a second was saved on the MSX2 Smile.

By Grauw

Ascended (8451)

Grauw의 아바타

18-10-2015, 18:07

I made a newspost :).

By Grauw

Ascended (8451)

Grauw의 아바타

19-10-2015, 00:03

I made another significant speed improvement, I created a fast path for the dictionary copying.

Now the disk extracts in 22s on turboR and 112s on MSX2 (14% faster!).

By hbarcellos

Hero (561)

hbarcellos의 아바타

19-10-2015, 02:07

Hmmm, that means that soon we'll be using .PDZ files instead of .PDI for protected disk images?

By gdx

Prophet (3035)

gdx의 아바타

19-10-2015, 08:33

Impressive work! Cool

Grauw wrote:

I made another significant speed improvement, I created a fast path for the dictionary copying.

Now the disk extracts in 22s on turboR and 112s on MSX2 (14% faster!).

Is this included in the v1.0?

By Grauw

Ascended (8451)

Grauw의 아바타

19-10-2015, 09:43

Hey gdx, no that change was made after the 1.0 release. I’ll release a 1.1 in a few weeks.

By cax

Prophet (3722)

cax의 아바타

19-10-2015, 10:06

If we combine

Quote:

When I skip the checksum verification it further improves speed by 25% (turboR 20s, MSX2 100s)

with

Quote:

Now the disk extracts in 22s on turboR and 112s on MSX2 (14% faster!)

how fast will it be?

By Grauw

Ascended (8451)

Grauw의 아바타

19-10-2015, 20:21

cax: I need to do an actual test to confirm the latest numbers, but previously disabling checksum verification saved 5.5s on the turboR and 133s on the MSX2, and I don’t have a reason to expect this has changed.

So with the verification disabled I expect it would extract in approximately 17s on the turboR and 79s on the MSX2. [ Edit: Actual results are exactly as predicted. ]

By enribar

Paladin (1000)

enribar의 아바타

19-10-2015, 11:46

I was satisfied and like to cite Bargain, this also is a great tool:
http://www.msx.org/news/en/bargain-1423
http://www.tcn.ne.jp/~hcmkkk/MSX.htm
Like to compare with Gunzip, in the field of image compression.

By Grauw

Ascended (8451)

Grauw의 아바타

20-10-2015, 23:37

enribar: I haven’t tested myself, but from the tests presented here it looks like Bargain is ~1.5 times faster than lhext. Gunzip is ~2 times as fast as lhext, so it beats it by a fair margin. In terms of file size gzip can’t beat it though, I tried two files PERRO.SC8 (23373 bytes) and MEGUMI.SCC (23564 bytes).

페이지 2/11
1 | | 3 | 4 | 5 | 6 | 7