Texas Hold'em winning odds estimation using Monte Carlo simulations written in Go
Chat app in Go/JS where the user picks a geographical location within which he wants to converse with others.
Barclaycard ePDQ Drupal Commerce payment gateway implementation.
A simple facade library for network communication via a TCP socket, written in C.
This covers issue #77 which is also the cause for PHPUnit Issues #4455.
The first change is in "src/ArrayComparator.php" where we first detect if the expected array has any non-integer keys. If that is the case, we treat both arrays as associative and sort them with ksort() instead of sort().
The second change is test coverage of the above logic in "tests/ArrayComparatorTest.php".
Log load_static_elements by type
With this PR the static assets detected by load_static_elements
get logged by type: css, img or js.
This is how the new output looks like:
------------------------------------------------------------------------------
Name | Avg (ms) | Min | Max | Median
------------------------------------------------------------------------------
GET static asset: css | 15.40 | 2 | 287 | 10
GET static asset: img | 42.83 | 3 | 398 | 17
GET static asset: js | 4.97 | 2 | 120 | 3
-------------------------+-------------+------------+-------------+-----------
If we don't want to see this behaviour by default, we could also create a new method load_static_elements_by_type
and leave the existing one unchanged.
Log load_static_elements by type