[hvgl] Micro-optimize

This commit is contained in:
Behdad Esfahbod committed 2025-03-02 16:57:54 -07:00
1 parent 8f505a70e3
commit a1fba4ebd4
1 file changed
+2 -2
+2 -2
View File
@@ -96,9 +96,9 @@ PartShape::get_path_at (const struct hvgl &hvgl,
// APPLE SIMD
bool src_aligned = (uintptr_t) (deltas.get_matrix (axisCount, segmentCount).arrayZ) % 8 == 0;
bool dest_aligned = (uintptr_t) (v.arrayZ) % 8 == 0;
// dest is always aligned.
bool be = CFByteOrderGetCurrent () == CFByteOrderBigEndian;
if (!be && src_aligned && dest_aligned)
if (!be && src_aligned)
{
unsigned rows_count = v.length;
double c[4];