Giter Club home page Giter Club logo

Comments (8)

devnexen avatar devnexen commented on August 27, 2024 2

Can we run some benchmark?

Thanks :) ..

from php-src.

cmb69 avatar cmb69 commented on August 27, 2024 1

Thank you! I have copied over the description from the old bug tracker. @nikic's question remains unanswered:

Why is this order better?

I think I understand your point, but does the order of the checks really matter for userland developers? After all, they need to fix the function call. And for the implementation, the current way is likely the most convenient and fastest.

from php-src.

iluuu1994 avatar iluuu1994 commented on August 27, 2024

Adding another check seems pointless. It would just add a slowdown for no particular reason.

from php-src.

mvorisek avatar mvorisek commented on August 27, 2024

The slowdown will be very minimal.

from php-src.

cmb69 avatar cmb69 commented on August 27, 2024

The slowdown will be very minimal.

Is that so?

from php-src.

devnexen avatar devnexen commented on August 27, 2024

The slowdown will be very minimal.

How do you know ?

from php-src.

mvorisek avatar mvorisek commented on August 27, 2024

That is my guess. I am not C developer so I cannot verify this easily. Can we run some benchmark?

from php-src.

devnexen avatar devnexen commented on August 27, 2024

The way I see it, speaking for myself. Not voting yes for this, I see no benefits and surely not perf improvements.

from php-src.

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.