Do not reverse byte order of GeoHash data on big-endian systems

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.1
    • Affects Version/s: None
    • Component/s: Portability
    • None
    • Fully Compatible
    • ALL
    • Platforms F (01/29/16)
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      src/mongo/db/geo/hash.cpp uses copyAndReverse to change the order of bytes in a hash when committing it to a buffer. This byte order reversal seems unnecessary on a big-endian system.

              Assignee:
              Tess Avitabile (Inactive)
              Reporter:
              Bryan Chan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: