gst 0.1.1

Generalised Search Tree
docs.rs failed to build gst-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: gst-0.1.3

Gist - Generalised Search Tree

A Generalised Search Tree is a tree structure similar to B+Trees that has a key structure that has been abstracted to an interface. This allows it to be used for various interesting structures like B+Trees, RTrees, BallTrees, and so on, just by inmplementing the interface for the GstKey. GiSTs were made popular by Postgres since they allow people to make interesting indices on tables that efficiently handle things like time intervals, or PostGIS.

This is a work in progress so there are some bits of weirdness.

e.g. It only handles Rects which then have Rects as the keys rather than having Rects in intermediate nodes which are pointing to Points or whatever.

Also, removal is a bit shonky and empty leaves are left in the tree. But to be fair, the original libgist has this issue too.

h2. Naming The name gist was taken just four days before I tried uploading this to Crates.io by a project for uploading Github gists. No one seems to know what the 'i' in GiST stands for anyway.