墨原 on Nostr: 整理 `config.fish` 的时候看到有几处 `source (... | ...
整理 `config.fish` 的时候看到有几处 `source (... | psub)`,翻了翻文档发现 psub 默认是拿常规文件实现的,改用 FIFO 快了几毫秒。又试了试直接 `| source`,跟 FIFO 差不多。毕竟都是内存中完成的吧,不用动文件。
Published at
2024-08-11 14:47:19Event JSON
{
"id": "a242006ab9957bf600f5edf99e6a89bd941272b49b47b49ae3975815bb53c251",
"pubkey": "6bb807a727f7fa0cd032294b55b93a8c3f3576b133349bc8183b570ec20f534a",
"created_at": 1723387639,
"kind": 1,
"tags": [
[
"proxy",
"https://dabr.ca/objects/3e357625-5b58-408b-a371-fb31f84b15ef",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://dabr.ca/objects/3e357625-5b58-408b-a371-fb31f84b15ef",
"pink.momostr"
],
[
"-"
]
],
"content": "整理 `config.fish` 的时候看到有几处 `source (... | psub)`,翻了翻文档发现 psub 默认是拿常规文件实现的,改用 FIFO 快了几毫秒。又试了试直接 `| source`,跟 FIFO 差不多。毕竟都是内存中完成的吧,不用动文件。",
"sig": "f3b59d5f0eb802478311335b195876981ae756016132d9e5b1d7e501f3d332aaed4c9d27189d66a00c9d340c8690e7bece88a5b6e0beb70bb07087fa5fdab30f"
}