libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.3k stars 1.84k forks source link

Increase import performance on switch using new hardware crypto #8548

Open fennectech opened 5 years ago

fennectech commented 5 years ago

We have hardware SHA1 and CRC32 in libnx now this could be used to speed up the content importer
https://github.com/switchbrew/libnx/pull/259

Relevant pull request

andres-asm commented 5 years ago

The biggest bottleneck is building up the file list though. Not scanning itself.

fennectech commented 5 years ago

Okay.

andres-asm commented 5 years ago

No need to close it, it's still an idea worth approaching.

fennectech commented 5 years ago

Okay :) i figured you ment that the improvement wouldent be worth the effort.

ghost commented 5 years ago

Also worth noting that no checksum generation is even done for compressed files (zip/7z), because it's already provided in the archive metadata for every file.

LibretroAdmin commented 2 years ago

Similarly on this topic, ARM and SSE 4.x should have hardware implementations of SHA1 and CRC32 too (although not CRC32-C).