Skip to content

Commit

Permalink
添加TODO,确定优化方向,这是一个速度和效果的权衡。。。
Browse files Browse the repository at this point in the history
  • Loading branch information
CC11001100 committed Jan 19, 2021
1 parent 04dc6df commit ba956ab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
}

// TODO 更多类型搞进来
// TODO 为什么一定要大而全呢?虽然占用的内存并不多,但是如果上百万的零碎变量还是会耗时间的?也许应该针对性的做出取舍
let valueString = "";
let valueTypeof = typeof value;
if (valueTypeof === "string") {
Expand Down

0 comments on commit ba956ab

Please sign in to comment.