Giter Club home page Giter Club logo

structures's Introduction

structures

Hackage Build Status

A playground for working with cache oblivious, succinct and compact data structures

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett

structures's People

Contributors

acowley avatar cartazio avatar ekmett avatar fryguybob avatar thoughtpolice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

structures's Issues

Any follow up work on cache oblivious data structures in the haskell ecosystem?

Hi there Ed,

been trying to dust off this project and wondering if you knew of implementations or efforts which pick up where you left off with cache oblivious data structures. I know of the haskell-works repo with succinct data structures, but I can't tell at first glance whether it also includes cache oblivious data structure.

Thanks!

Jun

Add prefetching to the binary search

This requires extending Data.Vector.Array with a notion of prefetch and likely upgrading dependencies to GHC 7.10 or hiding it behind an option.

Perform multiple searches in parallel

With a binary tree we can a.) switch to a branchless form and b.) do the searches with a baked in prefetch call. We can then batch 4-8 array searches in parallel, and take advantage of the prefetches from #5.

With Eytzinger order #4, however, such extra prefetches would be random main memory reads if we needed to do extra levels. This would bound our parallelism by the number of structures at the same level as us. (2-3x currently.)

If the payout is large enough, the latter may supply motivation for considering a larger radix number system.

Range queries?

Hi there again.

Been wondering about whether these fast range queries you mentioned were implemented somewhere? Or if I'm overlooking something about deriving them from the existing machinery...

Cheers,

Jun

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.