Giter Site home page Giter Site logo

keyde's Introduction

Keyde - Small and Speedy spacial queries

cargo test

Keyde aims to provide minimal yet fast implementations of spacial query structures.

Currently, keyde provides a:

  • Kd-tree

"Points"

Keyde provides a Point trait that is implemented for arrays of sizes 1 to 4, tuples of sizes 2, 3 as well as for all the basic 1D types (u8, i8, isize, f32, f64..)

By enabling optional features such as glam, you can get an implementation glams's default Vec3, Vec4, Vec2 and Vec3A types.

Keyde wants to support more linear algebra crates, so feel free to make a PR and add your favorite one. See src/point_implementations.rs for inspiration.

Kd-tree

Key things that differ keyde's kd-tree implementation from others:

  • No recursion, only iterative implementations
  • No cloning of your data, everything is refered to by indices into your data
  • Provides KdTreeStrategy to choose sorting strategy which might help you find a creation/querying-strategy that is more optimal for your particular data layout

keyde's People

Contributors

erikwdev avatar

Stargazers

 avatar Jeff Carpenter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.