lkml.org 
[lkml]   [2019]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v8 10/13] exfat: add nls operations
From
Date

> +++ b/fs/exfat/nls.c

> +int exfat_nls_cmp_uniname(struct super_block *sb, unsigned short *a,
> + unsigned short *b)
> +{
> + int i;
> +
> + for (i = 0; i < MAX_NAME_LENGTH; i++, a++, b++) {
> + if (exfat_nls_upper(sb, *a) != exfat_nls_upper(sb, *b))

Can it matter to compare run time characteristics with the following
code variant?

+ for (i = 0; i < MAX_NAME_LENGTH; i++) {
+ if (exfat_nls_upper(sb, a[i]) != exfat_nls_upper(sb, b[i]))

Regards,
Markus

\
 
 \ /
  Last update: 2019-12-31 15:24    [W:0.181 / U:4.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site