Not everyone has a ZTS build or wants to set one up to use parallel. So, I created a 'threaded' version using PCNTL and shmop for process communication. It adds a small overhead of about 0.016s for calculating 'threads' output, but it works nicely!
shmop it set to use 1MB of memory per thread, which should be more than enough
Not everyone has a ZTS build or wants to set one up to use parallel. So, I created a 'threaded' version using PCNTL and shmop for process communication. It adds a small overhead of about 0.016s for calculating 'threads' output, but it works nicely!
shmop it set to use 1MB of memory per thread, which should be more than enough