Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缓存长度为0的列表,就会报serialize异常 #27

Open
kimjuny opened this issue Sep 10, 2017 · 1 comment
Open

缓存长度为0的列表,就会报serialize异常 #27

kimjuny opened this issue Sep 10, 2017 · 1 comment

Comments

@kimjuny
Copy link

kimjuny commented Sep 10, 2017

逻辑上,应该支持缓存/提取长度为0的结果列表。没有缓存和缓存结果集大小为0是两回事,应该区分。

@kimjuny
Copy link
Author

kimjuny commented Sep 10, 2017

自己解决了,需要多一个class作为参数,不知道是不是考虑到这样写不够优雅所以略过了这部分问题,但是实际情况中缓存长度为0的列表,表示有缓存但是缓存结果是空的,这也是很重要的。其他人有什么好的解决方法,可以在这里讨论

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant