• Brian Atkinson's avatar
    [Go] Unroll WriteUint64 and WriteInt64. · e2eb6af3
    Brian Atkinson authored
    This enables both WriteUint64 and WriteInt64 to both be inlined as
    well as implemented with a single assembly instruction. The current Go
    compiler refuses to inline functions with for loops. The compiler is
    also not smart enough to produce a single assembly instruction for the
    for-loop.
    e2eb6af3
encode.go 5.38 KB