Git Product home page Git Product logo

Comments (7)

dmah42 avatar dmah42 commented on May 5, 2024

bytes and items processed should remain (u)int64_t. the rest can go, especially taking into account the overhead of 64-bit math on 32-bit systems.

from benchmark.

divayprakash avatar divayprakash commented on May 5, 2024

@EricWF I'd like to take this up. Could you give a little more info on how to go about it?

from benchmark.

EricWF avatar EricWF commented on May 5, 2024

Honestly last time I checked the status of this bug I used grep -R int64_t.

from benchmark.

divayprakash avatar divayprakash commented on May 5, 2024

So just swap out int for all occurrences of int64_t?

from benchmark.

pleroy avatar pleroy commented on May 5, 2024

Nope, some of these should be size_t. Also, int is typically 32 bits, so you must make sure that you are not introducing overflows.

This is a tricky change, it's certainly not a global substitute.

from benchmark.

EricWF avatar EricWF commented on May 5, 2024

Exactly what @pleroy said. The remainder of the changes are tricky, most long hanging fruit is gone.

from benchmark.

dmah42 avatar dmah42 commented on May 5, 2024

At some point we started replacing size_t with int64_t explicitly, and I think we're in a position where everything is correct, and we shouldn't monkey around with it further.

If you agree, @EricWF, please close this.

from benchmark.

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.