# 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/t4kublq
手寫了個可能是 Github 性能最強的 Go 跳錶**
作者:phongchen,騰訊 IEG 後臺開發工程師 2022 年 3 月,廣大人民期盼已久的支持的泛型的 go1.18 發佈了。但是目前基於泛型的容器實現還不多。我實現了一套類似 C++ 中 STL 的容器和算法庫。其中有序的 Map 選擇用跳錶來實現,並優化到了相當好的性能。在此分享一下優化的思路和心得,供大家參考借鑑,如果發現有錯誤也歡迎指出。一、背景首先爲標題黨致歉,不過確實沒吹牛 😊 ⌘ Read more