Top Level :: Caching
:: yac
:: 2.4.2
:: Windows
yac 2.4.2 for Windows
| Package Information |
| Summary |
lockless user data cache |
| Maintainers |
Xinchen Hui <
laruence at php dot net >
(lead)
[details]
|
| License |
PHP |
| Description |
yac is a fast, lock-free, shared memory user data cache for PHP. it can be used to replace APC or local memcached. |
| Homepage |
https://github.com/laruence/yac
|
Release notes
Version 2.4.2
(stable)
|
- String values are decoded straight into the zend_string handed back to PHP, no second copy per read - Copying a value and checksumming it are a single pass on writes as well as reads - The next probe slot is prefetched while the current one's lock, load and compare are in flight - Faster argument parsing for add/set/get/delete/dump - dump() builds its result array in bulk instead of one insert per entry - Overwriting an entry whose value outgrew its block skips the checksum of the block being replaced - CRC-32C picks its implementation by probing the CPU at runtime, so a binary built with -msse4.2 still runs on older hardware - Fixed get() crashing under concurrency: find() bumped the hit count and access time without holding the slot, overwriting the type flag a concurrent write had just published - flush() now takes every slot before clearing the table; it could previously land mid-publish and leave a slot permanently unusable - dump() returns an empty result while a flush() is in progress instead of reporting half-cleared slots - Fixed a wild-pointer read in the block-value guard of find() - Fixed dump() on PHP older than 7.4 - Fixed the packaged tarball missing storage/crc, which made it fail to build |
|
In case of missing DLLs, consider to contact the
Windows Internals List
(subscribe first).
| Dependencies for release 2.4.2 |
|
PHP Version: PHP 7.0.0 or newer PEAR Package: PEAR 1.4.0 or newer
|
|
|