consider removing UTrie2 data alignment check

Description

ICU wants its data to be at least naturally aligned, and the UTrie2 code checks for 32-bit alignment (U_POINTER_MASK_LSB(data, 3)!=0). However, common CPUs at least "work" with mis-aligned data. Performance may be reduced, but probably ICU should not add a constraint where the CPU doesn't. So consider removing that check.

Status

Assignee

Markus Scherer

Reporter

Markus Scherer

Labels

None

Reviewer

None

Time Needed

Minutes

Start date

None

Components

Fix versions

Priority

medium
Configure