smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
619 stars 156 forks source link

Optimize GetDifs #50

Closed 0xd34d10cc closed 6 years ago

0xd34d10cc commented 6 years ago

Usage memcmp which is implemented with SIMD instructions and linear (from memory point of view) image traversal makes it almost 2 times faster.

smasherprog commented 6 years ago

looks good so far... I have an event to goto but ill be back later today to check this in. Thanks for the PR

smasherprog commented 6 years ago

I am working on this now, but adding some tests to measure the perf on the getdiffs