代码
位图在javascript中的实现
位图可以极大程度的压缩某一范围内不重复的数据,也可以优雅的表示一组布尔值的集合,占用空间小,查询速度快 应用场景
集合操作
• 去重:位图可以用于快速去重,例如在处理大量数据时,位图可以用来记录是否已经出现过某个数据。
• 交集、并集、差集:位图在处理集合的交集…
nobody 写开源的半年
由于今年工作不顺心 公司的工作应付完了之后想写一写开源项目,找找认同感。我加入了bewlybewly
这是一个优化 b 站体验的插件,我非常喜欢。我为他贡献了我的第一个功能,调整首页标签栏的顺序和默认加载的页面feat: custom home tab
自己写的代码真的有人在用…