提交 bffcfc53 编写于 作者: Z zengbin93

0.5.3 使用 lru_cache 缓存

上级 15184fd1
......@@ -13,9 +13,11 @@ except ImportError:
import pandas as pd
import numpy as np
from datetime import datetime
from functools import lru_cache
from czsc.utils import plot_ka
@lru_cache(maxsize=64)
def find_zs(points):
"""输入笔或线段标记点,输出中枢识别结果"""
if len(points) < 5:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册