logo
首页技术栈工具库讨论
grouped-list

grouped-list

Grouped lists work like regular lists, except for two conditions: Grouped lists are always finite. Attempting to construct an infinite grouped list will result in an infinite loop. Grouped lists internally represent consecutive equal elements as only one, hence the name of grouped lists. This mean that grouped lists are ideal for cases where the list has many repetitions (like [1,1,1,1,7,7,7,7,7,7,7,7,2,2,2,2,2], although they might present some deficiencies in the absent of repetitions.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
HACKAGE
carbal install grouped-list
查看
标签
根据用户添加的标签生成
暂无标签