# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 1
# self = https://watcher.sour.is/conv/xp6ociq
圖解布隆過濾器和布穀鳥過濾器實現原理**
布隆過濾器和布穀鳥過濾器是兩種概率型數據結構,主要用於高效的檢査一個元素是否屬於一個集合,但是在實現實現、性能特性和使用場景上存在一定的差異,下面我們來聊聊這兩種過濾器。1、布隆過濾器 布隆過濾器的原理是對一個 key 進行 n 個 hash 算法獲取 n 個值,然後通過這些值在比特數組中將這 n 個值對應的 bit 位設爲 1,如下圖所示的: 我們元數據(龍蝦編程)通過兩個哈 ⌘ Read more