update to 2.4.4 version (build 405)

change requirements: add pcntl as required extension
update docs
This commit is contained in:
jerry
2021-03-29 17:12:09 +08:00
parent d72b41a902
commit 77e77e9cc3
15 changed files with 219 additions and 58 deletions

View File

@@ -118,7 +118,7 @@ dump(LightCache::getExpire("test")); // 返回 10
### LightCache::getExpireTS()
获取存储项要过期的时间戳。
获取存储项要过期的时间戳。2.4.3 起可用)
定义:`LightCache::getExpireTS(string $key)`
@@ -135,7 +135,7 @@ dump(LightCache::getExpire("test")); // 返回 null
获取轻量缓存使用的总空间大小(字节)
```php
LightCache::getMemoryUsage());
LightCache::getMemoryUsage();
```
轻量缓存的内存手工计算方式:(Table 结构体长度` + `KEY 长度 64 字节 + `$size`) * (1 + `$conflict_proportion`) * 列尺寸。