Closed kamecha closed 5 months ago
The update introduces a caching mechanism for channel tree structures, aiming to reduce the frequency of fetching all channels from the server. It includes the addition of functions for managing the channel cache and updates to existing functions to utilize this cache, enhancing efficiency and performance in channel-related operations.
File(s) | Change Summary |
---|---|
denops/traqvim/model.ts |
Added caching functions; modified makeChannelPath and channelsRecursive to use channelCache . |
Objective | Addressed | Explanation |
---|---|---|
Save the channel tree structure in a cache or similar (#35) | ✅ | |
Ensure consistency with the server by comparing the number of channels (#35) | ❓ | The summary mentions channel caching but does not detail consistency checks. |
To the channels far and wide, 🌍
A rabbit hopped, with strides of pride. 🐇
"No more fetching, one by one,
With caching, half the battle's won! 🏆
Let's celebrate, for we've begun,
A journey where efficiency's spun." 🎉
- @coderabbitai, with joy under the sun ☀️
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Close #35
とりあえずグローバルにmapを置いちゃってるから、後々修正したほうが良いかも
多分websocketを実装する時に色々大工事する事になるのかな
Summary by CodeRabbit