GithubHelp home page GithubHelp logo

bloom's People

Contributors

dymk avatar martinnowak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bloom's Issues

two things : multi bloom + number of entries

Hello,

By reading the code, I couldn't get where you define nentries, as it is not passed in argument in the constructor.

Second, how could we define two bloom filters ?
Does it use mmap ?

Thanks

Bloomtest gets build by applications

Not sure whereas this is a Dub or a bloom issue TBH, figured you might have some insight.
Running on MacOSX 10.13.5, DUB version 1.10.0, built on Jul 4 2018 from Homebrew, DMD64 D Compiler v2.081.0 also from Homebrew.

I did a dub init ., added Bloom as dependency (1.0.1 selected) and ended up with the standard dub.json.
Main and only source file is:

import bloom;

import std.stdio;

void main ()
{
    auto filter = BloomFilter!8(2048);
    pragma(msg, typeof(filter).sizeof);
    writeln("Hello world");
}

Once again, nothing surprising. However, when building:

$ dub                                                                                                                                                                                                                            :(
Performing "debug" build using dmd for x86_64.
bloom 1.0.1: target for configuration "library" is up to date.
bloomtest ~master: building configuration "application"...
16LU
../../.dub/packages/bloom-1.0.1/bloom/src/bench.d(20,5): Error: only one main allowed. Previously found main at source/app.d(5,6)
dmd failed with exit code 1.

I tried to add the following to my dub.json, to no avail:

    "subConfigurations": {
        "bloom": "library"
    },

(AFAICS, it should be the default anyway).

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.