Skip to content

Commit

Permalink
WIP-ARM64-MAC
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk committed Sep 25, 2024
1 parent 5028db3 commit c6b2468
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SuperFastHash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@

FORCE_INLINE uint16_t get16bits ( const void * p )
{
#if 0
return *(const uint16_t*)p;
#else
const uint8_t *p8 = static_cast<const uint8_t *>(p);
return p8[0] | (p8[1] << 8);
#endif
}

// objsize: 0-d2: 210
Expand Down

0 comments on commit c6b2468

Please sign in to comment.