[PATCH 6 of 8 faster-obsmarkers] getbefloat64: drop unnecessary memcpy
Augie Fackler
raf at durin42.com
Tue Feb 3 09:56:05 CST 2015
On Tue, Feb 3, 2015 at 9:12 AM, Julien Cristau
<julien.cristau at logilab.fr> wrote:
> -fno-strict-aliasing can't guarantee correct alignment, though, so
> unless you're sure the const char * is always 8-byte aligned you can't
> just cast it. IOW, the union is probably safest.
I'm confused how the char* relates to the caast of the uint64_t to double?
I'll do a resend with a union.
More information about the Mercurial-devel
mailing list