libmorton

C++ header-only library with methods to efficiently encode/decode Morton codes in/from 2D/3D coordinates (by Forceflow)

Libmorton Alternatives

Similar projects and alternatives to libmorton

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better libmorton alternative or higher similarity.

libmorton discussion

Log in or Post with

libmorton reviews and mentions

Posts with mentions or reviews of libmorton. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • Morton: Bit Interleaving in C/C++
    3 projects | news.ycombinator.com | 19 Apr 2024
    3. https://github.com/Forceflow/libmorton

    I used it to accelerate nearest neighbor detection for collision processing in particle-laden flow for modeling complicated domains in 3d (for biological fluids simulation). I was using it a locality sensitive hashing to put particles near each other in the same bucket in an hash map. I came across the ideas of BIGMIN (big minimum) and LITMAX (little maximum) for range search in a morton encoded data that I found to be cool.

  • What are the implications of AVX-512 for emulation?
    3 projects | /r/emulation | 7 Mar 2021
    For example, I was able to accelerate ARM's vector-based arithmetic/logical bit-shifts into a single instruction compared to the 5 instructions it needed before thanks to AVX-512(also here's a little writeup I made on that). Or how I was able to accelerate ARM's vector bit-reversal into a just 2 fast instructions rather than the dozen that it needed before(another write-up I made on that). Or how using AVX512-BITALG can help accelerate interfacing with Morton Codes(common with encoding and decoding GPU texture formats).

Stats

Basic libmorton repo stats
2
572
2.2
10 months ago

Forceflow/libmorton is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of libmorton is C++.


Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com