Răsfoiți Sursa

update readme

blueloveTH 3 ani în urmă
părinte
comite
49c68d16cd
2 a modificat fișierele cu 2 adăugiri și 9 ștergeri
  1. 1 6
      README.md
  2. 1 3
      README_zh.md

+ 1 - 6
README.md

@@ -43,6 +43,7 @@ Please see https://pocketpy.dev for details or try [Live Demo](https://bluelovet
 | Context Block   | `with <expr> as <id>:`          | 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. 

+ 1 - 3
README_zh.md

@@ -39,6 +39,7 @@ PocketPy是一个轻量级的Python解释器,为嵌入至游戏引擎而设计
 | 上下文管理器 | `with <expr> as <id>:`          | 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