mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00

Instead of doing linear strcmp-like operation after every byte read, Reader now computes a "hash" of the needle it searches for and updates "hash" of the window contents. Now, it only does strcmp if window has the same "hash" as the needle, which also improves file upload speed for ScummVM's local webserver.