Git Product home page Git Product logo

Comments (3)

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on September 17, 2024 1

from graphblas.

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on September 17, 2024

It would be difficult. All of my built-in semirings must either use commutative binary ops (like TIMES for PLUS_TIMES, where xy == yx), or I have to have them in pairs (like MINUS and RMINUS). This is so that I can handle the "flip" where A*B can be written as B'*A' but only if the multiplicative op can be "flipped". Yes, they would be much faster as built-in semirings. I'm worried about the library size though. Each built-in semiring adds about 200KB to the libgraphblas.so, for each type. So PLUS_POW_T would add about 4MB or so to the *.so, at least. Maybe more. I've trimmed down the # of semirings I create in Source/GB_control. I would also have to have an "RPOW" operator which would compute y^x, which adds still more to the binary size.

from graphblas.

eriknw avatar eriknw commented on September 17, 2024

Understood, thanks for explaining the benefits and costs. If these are ever available--even optionally--I would opt-in to include them. I'm not so sensitive to binary size, but I know this is a concern for some.

from graphblas.

Related Issues (20)

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.