update readme

This commit is contained in:
blueloveTH 2023-02-25 14:28:01 +08:00
parent c7bab88587
commit 49c68d16cd
2 changed files with 2 additions and 9 deletions

View File

@ -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.

View File

@ -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