Coder Social home page Coder Social logo

Memory Leaks about netket HOT 6 CLOSED

netket avatar netket commented on May 29, 2024
Memory Leaks

from netket.

Comments (6)

gcarleo avatar gcarleo commented on May 29, 2024

Would you consider moving past your state of shock and suggest a concrete correction to this (potential) issue?

from netket.

twesterhout avatar twesterhout commented on May 29, 2024

Of course, and I've already suggested a fix: use std::unique_ptr. You get memory safety at no noticeable performance cost.

from netket.

gcarleo avatar gcarleo commented on May 29, 2024

OK thanks, I fixed this in the latest commit 7402132

from netket.

twesterhout avatar twesterhout commented on May 29, 2024

I have a more general question: how would you feel about receiving a whole lot of similar bug reports? Would you be willing to accept PRs improving code quality or is the state where the code "runs" good enough?
The reason I'm asking this is because I'm trying to decide whether it makes sense to abandon my own similar code in favour of this project.

from netket.

gcarleo avatar gcarleo commented on May 29, 2024

As long as the bug reports concern potential performance/stability issues in the code, it is perfectly OK and well accepted. Reports concerning coding style issues that do not affect performance, and do not improve the code usability, might not be considered.
Forks and pull requests is of course a good way of actively proposing changes to the code.

from netket.

twesterhout avatar twesterhout commented on May 29, 2024

I see. Thanks for the honest answer!

from netket.

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.