Home
Language
English
Türkçe
Bahasa Indonesia
About
Privacy Policy
Terms of Service
Pricing
Sign In
Download All
Share
redock
@redockzz
Enjoy life, work hard. Make the world prettier~
Asia
Joined April 2010
1.5K
Following
215
Followers
77
Posts
redock
@redockzz
19 days ago
@mr_easonyang
从前种种 譬如朝露
redock
@redockzz
about 2 months ago
@engineers_feed
log(😅)=💧log(😄)
redock
@redockzz
about 2 months ago
@thelastgreeks
想 4o 就去找来聊啊 https://t.co/zsGhWnFcfM
redock
@redockzz
3 months ago
@xqliu
token/s 可能不够大,吞吐量不行
Who to follow
刘高三
@liugaosan
勤靡余劳,心有长闲。
Arthur Tse
@xiaofengxie
Founder of indie Blog CAOVAN 🌐 | AI Slave owner 🏰
Chinese Feng Shui-Taoist Spells-
@anzhuotaps
Chinese Feng Shui-Taoist Spells-Changing Numerology W S:+8615659887539
redock
@redockzz
3 months ago
@chumacn
必然
redock
@redockzz
4 months ago
@NuryVittachi
@xc_wxch00
xc wang was making a joke, 打成 instead of 达成。 ask grok if you want details.
redock
@redockzz
5 months ago
@Xudong07452910
should I buy a M5 Max 128G 4T MacBook Pro? asking for a friend.
redock
@redockzz
5 months ago
@jun_song
should I buy a M5 Max 128G 4T MacBook Pro? asking for a friend.
redock
@redockzz
5 months ago
@wey_gu
有没有哪些 benchmark 对比一下量化之后性能的损失?
redock
@redockzz
5 months ago
@andy88988696
将帅困在九宫格,安全感来自不移动。士象是亲信,因为无能才被信任。车马炮有战斗力,但被视为威胁。卒只能前进,没有退路。
redock
@redockzz
5 months ago
@tcdwww
skills 还有渐进式披露
redock
@redockzz
5 months ago
@CatChen
买钠石灰
redock
@redockzz
5 months ago
@cloudwu
@passluo
这个也有道理,目前 claude code / codex / copilot-cli 好像就这么干的。但二十年前的手机端肯定不能这样。如果今天从 0 开发一个微信,或许可以这样做。
redock
@redockzz
5 months ago
@cloudwu
@passluo
算法能写出来,但工程不一定就该这么做。1. 聊天记录不仅是文本,是包含类型,状态等元数据的结构化数据。2. 数据的增删改查,sqlite 已经给出最优解。在加密文本上强行手搓约等于重新发明。3. 移动端首重稳定性+性能敏感, append-only 在服务端OK,不一定能硬套移动客户端。求同存异,感谢交流~
redock
@redockzz
5 months ago
@cloudwu
@passluo
就算更高效一点,不拉滚动条,vi 打开直接/搜索,这个过程中也是 O(n) 复杂度。为啥不用数据库自带的 log(n)呢
redock
@redockzz
5 months ago
@cloudwu
@passluo
你说的对,但拿日志恢复 ACID 不就是数据库的老本行嘛
redock
@redockzz
5 months ago
@cloudwu
@passluo
你看看 tail 用起来方便,https://t.co/s4xXmXcZYN 但是里面很吃 I/O 和 CPU。而且我刚想起来,微信为了安全,还加密了消息,这种情况文本文件怎么搜索。
redock
@redockzz
5 months ago
@cloudwu
@passluo
没有,但是我效率低啊。要想效率高,肯定得重新发明 sqlite。
redock
@redockzz
5 months ago
@cloudwu
@passluo
云风大神是服务端架构师,但是移动设备的客户端的生存环境要差很多(尤其是 20 年前),多种多样,且随时可能断电或者被清后台。如果出了脏数据也没人帮客户修。所以用文本文件+grep 不如用现成的 sqlite。虽然讨厌微信吃容量,但不认为有比 sqlite 更好的方案。
redock
@redockzz
5 months ago
@cloudwu
@passluo
10万字也就几百 K,内存肯定不怕的。但 I/O 和 CPU是瓶颈,在变长文件里“从后往前找最近 20 条”,只能暴力匹配。tail 20 可没那么高效。
Last Seen Users on Sotwe
MariaJupiter
Seen from
Italy
Armando Naranjo 🍊 Naranjazos
Seen from
Venezuela
Lotus
Seen from
Indonesia
Jembut Kadal
Seen from
Malaysia
Thaiชอบเย็ดรุ่นป้าอ้วนมีอายุ
Seen from
Thailand
ابن الشيخه نهله
Seen from
Egypt
maral
Seen from
Turkey
Jchok
Seen from
United States
INDIAN_WEB_SERIES
Seen from
India
DLhomie
Seen from
United States
Trends for you
1
Raiders
Under 10K tweets
2
Padres
Under 10K tweets
3
Spain
Under 10K tweets
4
49ers
Under 10K tweets
5
Darnold
Under 10K tweets
6
#TheGildedAge
Under 10K tweets
7
Jared Verse
Under 10K tweets
8
Chivas
Under 10K tweets
9
#RHOP
Under 10K tweets
10
AJ Preller
Under 10K tweets
Most Popular Users
1
Elon Musk
@elonmusk
239.6M followers
2
Barack Obama
@barackobama
118.5M followers
3
Cristiano Ronaldo
@cristiano
114.3M followers
4
Donald J. Trump
@realdonaldtrump
111.7M followers
5
Narendra Modi
@narendramodi
106.9M followers
6
Rihanna
@rihanna
98.6M followers
7
NASA
@nasa
92M followers
8
Justin Bieber
@justinbieber
91.7M followers
9
KATY PERRY
@katyperry
89.9M followers
10
Taylor Swift
@taylorswift13
83.9M followers
11
Lady Gaga
@ladygaga
75.4M followers
12
Virat Kohli
@imvkohli
73.3M followers
13
Kim Kardashian
@kimkardashian
70.8M followers
14
YouTube
@youtube
68.6M followers
15
Neymar Jr
@neymarjr
66.3M followers
16
Bill Gates
@billgates
65.1M followers
17
Selena Gomez
@selenagomez
63M followers
18
The Ellen Show
@theellenshow
62.1M followers
19
CNN
@cnn
61.7M followers
20
X
@x
60.6M followers
Olivia
Online
✨
⭐
💫