0.98.1: Degraded HEIF performance for unicode files

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

zzqnsnna
Posts: 1
Joined: Tue Feb 23, 2021 3:40 am

0.98.1: Degraded HEIF performance for unicode files

Post by zzqnsnna »

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.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47499
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.98.1: Degraded HEIF performance for unicode files

Post by xnview »

right, the problem is that heif_context_read_from_file doesn't support unicode
Pierre.