0.98.1: Degraded HEIF performance for unicode files
Posted: Tue Feb 23, 2021 5:22 am
XnView: MP 0.98.1 - 64-bit
OS: Windows 10 - 64-bit
Effect: I observed degraded HEIF performance if file name contains Unicode and windows settings "Language for non-Unicode programs" doesn't match file name characters. If I change "Language for non-Unicode programs" to match file name characters, the performance improved dramatically.
Attached thread dump in the degraded scenario. I guess there is a different branches in XnViewMP code base. If heif_context_read_from_file fails, it switches to transitional fget and causes the degraded decode performance.
OS: Windows 10 - 64-bit
Effect: I observed degraded HEIF performance if file name contains Unicode and windows settings "Language for non-Unicode programs" doesn't match file name characters. If I change "Language for non-Unicode programs" to match file name characters, the performance improved dramatically.
Attached thread dump in the degraded scenario. I guess there is a different branches in XnViewMP code base. If heif_context_read_from_file fails, it switches to transitional fget and causes the degraded decode performance.