Giter VIP home page Giter VIP logo

fltrjet's Introduction

EXPERIMENTAL

This code is not used in production. It is experimental in nature and is not production ready.

fltrJET

fltrJET (Jump Every Time) is an exerimental MetalKit SIMD execution engine for Bitcoin Compact Filter matching for fltrWallet

Idea

Since compact filter matching can be executed in parallel, this package explores the possibility of doing so using the inbuilt GPU of Apple Silicon over MetalKit. It is currently slower than the optimized C/Swift version in production. However, there are a number of possible improvements

  • The code can be much better optimized for parallel execution (especially the hashing part)
  • It might make sense to execute the filter matching at a more narrow bit-width and progressively expand to the final and necessary 64-bit width
  • Batching multiple filters and execute many at once to reduce scheduling overhead

It may prove that it is simply not useful to execute compact filters in a SIMD manner. If you are interested in GPU programming and MetalKit, please let us know so that progress can be made.

Ackgnowledgements

fltrJET makes use of the fastrange algorithm by Daniel Lemire under Apache 2 license. SipHash is ported from C under the CC0 1.0 Universal license.

fltrjet's People

Contributors

fltrwallet avatar sveamarcus avatar

Watchers

 avatar

Forkers

sveamarcus

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.