0.98.1: Degraded HEIF performance for unicode files

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

Moderator: Dreamer

Post Reply
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.
Attachments
degraded.png
User avatar
xnview
Author of XnView
Posts: 34695
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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.
Post Reply