Multiplication is faster than bit shifting
This commit is contained in:
@@ -81,7 +81,7 @@ namespace MediaBrowser.Common
|
||||
break; // Unreachable
|
||||
}
|
||||
|
||||
bytes[j] = (byte)((a << 4) | b);
|
||||
bytes[j] = (byte)((a * 16) | b);
|
||||
}
|
||||
|
||||
return bytes;
|
||||
|
||||
Reference in New Issue
Block a user