From 49c68d16cd9939dd5f4bdeec8a5f41df4685bcbd Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 25 Feb 2023 14:28:01 +0800 Subject: [PATCH] update readme --- README.md | 7 +------ README_zh.md | 4 +--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 26bc9721..f446940f 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ Please see https://pocketpy.dev for details or try [Live Demo](https://bluelovet | Context Block | `with as :` | YES | | Type Annotation | `def f(a:int, b:float=1)` | YES | | Generator | `yield i` | YES | +| Decorator | `@cache` | YES | ## Getting Started @@ -175,13 +176,7 @@ Check our [Coding Style Guide](https://pocketpy.dev/coding_style_guide/) if you An excellent learning material. It illustrates how Python's virtual machine works. -+ [emhash](https://github.com/ktprime/emhash) - - A very fast and memory efficient c++ flat hash map/set. In our test case, it is 40% faster than `std::unordered_map`. - ## License PocketPy is licensed under the [MIT License](http://opensource.org/licenses/MIT). - -PocketPy uses [emhash](https://github.com/ktprime/emhash)(MIT License) to implement Python's internal `__dict__` object. diff --git a/README_zh.md b/README_zh.md index 39270055..355accd4 100644 --- a/README_zh.md +++ b/README_zh.md @@ -39,6 +39,7 @@ PocketPy是一个轻量级的Python解释器,为嵌入至游戏引擎而设计 | 上下文管理器 | `with as :` | YES | | 类型标注 | `def f(a:int, b:float=1)` | YES | | 生成器 | `yield i` | YES | +| 装饰器 | `@cache` | YES | ## 快速上手 @@ -149,11 +150,8 @@ flutter pub add pocketpy ## 参考 + [cpython](https://github.com/python/cpython) - + [byterun](http://qingyunha.github.io/taotao/) -+ [emhash](https://github.com/ktprime/emhash) - ## 开源协议 MIT License \ No newline at end of file