Giter VIP home page Giter VIP logo

attribute-documentation's People

Contributors

aishpant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nifey

attribute-documentation's Issues

update README for running spatch & pip with python3

Two places need to be updated:

  • Ubuntu like distributions still default python & pip to be python2.7 and pip2.7 respectively. Package download instruction should change to : pip3 install abi2doc
  • spatch needs to be compiled with option ./configure --with-python=python3. README should direct coccinelle install instructions to the github repo since all the distro packages are outdated now.

do not mutate num_of_cores

Refer to comment in commit "use system cpu count to run spatch" .

Mutating variables outside the scope of a function is in general a bad idea.

  • You cannot move this function elsewhere now, because its tied up to the environment
  • You cannot unit test this function without mocking a global object
  • You have another function (or parts of code) that is implicitly depending on this function being called before, but that is not very clear when you read the code.
  • Mutation in general makes code harder to understand

Reported by: @jaseemabid.

utilise all cores

The git log -L command in doc.py takes a very long time to run. The script would be much faster if it runs in parallel.

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.