Rudi Theunissen

Results 191 comments of Rudi Theunissen

`__builtin_saddl_overflow` is a GCC extension, looks related to https://github.com/CopernicaMarketingSoftware/PHP-CPP/issues/381

You could always make it negative. 😉 I see no reason why both a min and max heap can't be available. I hope to find the time and energy to...

> It's ok I suppose to use my implementation, but I would rather not have to so that I can take easy advantage of updates and fixes. Would an extension...

It is unfortunate that we do have a base equals method. I think checking for an exists function and calling it is a reasonable idea, can't see why not.

It's just a different level of verbosity, but you're right, it's not expected behaviour / usual semantics. 😢

`__toString` is either an appropriate representation (think PSR-7 response body) or a debug handler. There is no default handler so I'm not even sure what the "usual semantics of PHP"...

Because we need to call a user function inside a comparator (C function pointer).

There is, but it's not standard. I wonder how plausible it is to implement quick sort manually.

@morrisonlevi interesting idea, would be very easy to just nab that header file and include it. I like.