摘要: Mem0 源码阅读笔记 版本:mem0 main 分支,commit dd5f7e39 1. 核心概念与大致架构 1.1 定位与三段式数据流 Mem0 把自己定位为「AI agent 的记忆层(memory layer)」。一条记忆(memory)的写入与检索,本质是三段式流水线: 原始对话/文本 阅读全文
posted @ 2026-07-25 21:58 Lhfcws 阅读(35) 评论(0) 推荐(0)
摘要: Keep updating. Last updated at 2022-02-21 . 阅读全文
posted @ 2022-02-19 17:06 Lhfcws 阅读(83) 评论(0) 推荐(0)
摘要: Distributed Transaction: Calvin & DOCC & Fauna Calvin: 发表于Sigmod12的一篇paper,期望是用deterministic 的方式来解决传统分布式事务。 (Google FAST'15的CalvinFS是基于Calvin的一个文件系统实现 阅读全文
posted @ 2021-12-20 16:55 Lhfcws 阅读(876) 评论(0) 推荐(0)
摘要: Fwd: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6#gistcomment-3154732 In case anyone is confused by the instructions, here's wha 阅读全文
posted @ 2021-10-31 11:44 Lhfcws 阅读(1011) 评论(0) 推荐(0)
摘要: 某次分享的较完整的MySQL8.0 server Query Path的lecture,pdf较大,放到SlideShare(maybe要科学访问)。 https://www.slideshare.net/LhfcwsWu/mysql-server-query-path 阅读全文
posted @ 2021-07-16 22:10 Lhfcws 阅读(117) 评论(0) 推荐(0)
摘要: MySQL 8.0 字符串比较特殊案例小结 Ref: https://dev.mysql.com/doc/refman/8.0/en/char.html Ref: https://dev.mysql.com/doc/refman/8.0/en/string-comparison-functions. 阅读全文
posted @ 2021-06-13 11:22 Lhfcws 阅读(266) 评论(0) 推荐(0)
摘要: MySQL SELECT_LEX与subselect 执行 源码阅读笔记 Based on MySQL8.0 community version JOIN::exec的细节不在此文中介绍。 SELECT_LEX 代码中常见简称为select。一个SELECT_LEX可以理解成一个SELECT FRO 阅读全文
posted @ 2021-06-13 11:20 Lhfcws 阅读(1349) 评论(0) 推荐(0)
摘要: MySQL 8.0 QueryResolver 源码笔记 前言 核心逻辑在SELECT_LEX::prepare()中,按照源码注释,其包括的大致内容如下: /** Prepare query block for optimization. Resolve table and column info 阅读全文
posted @ 2021-06-13 11:16 Lhfcws 阅读(837) 评论(0) 推荐(0)
摘要: MySQL 8.0 Optimizer 源码笔记 Based on 社区版源码。核心入口 JOIN::optimize /** Optimizes one query block into a query execution plan (QEP.) This is the entry point t 阅读全文
posted @ 2021-06-13 11:15 Lhfcws 阅读(1074) 评论(0) 推荐(0)
摘要: MySQL Item 源码阅读笔记 Based on MySQL8.0 community version Outline Item的内容与作用 Item的构建 几种典型Item的介绍 Item表达式求值与相关优化的实现 Item与下推优化 1. Item的内容与作用 一个前人画的Item继承关系图 阅读全文
posted @ 2021-06-13 11:12 Lhfcws 阅读(1843) 评论(0) 推荐(0)