MoYi123 最近的时间轴更新
MoYi123's repos on GitHub
Python · 10 人关注
mmooyyii
my note
Erlang · 4 人关注
emoji
a emoji dictionary for erlang
Erlang · 4 人关注
trueskill
Erlang implementation of classic TrueSkill and TrueSkill2
Go · 1 人关注
fst
Finite State Transducer
Erlang · 1 人关注
recordis
erlang redis orm
0 人关注
aho-corasick
aho corasick algorithm
Go · 0 人关注
excel_oj
Excel 在线测试平台(大家一起来内卷)
Erlang · 0 人关注
fibheap
Fibonacci heap for erlang
C · 0 人关注
pg_plugin_demo
Go · 0 人关注
practise_db
练习用数据库
Erlang · 0 人关注
ra
A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.
Erlang · 0 人关注
recon
Collection of functions and scripts to debug Erlang in production.
C · 0 人关注
streamvbyte
Fast integer compression in C using the StreamVByte codec
0 人关注
trueskill-1
Python implementation of TrueSkill player ranking
Go · 0 人关注
WritingAnInterpreterInGo
Writing An Interpreter In Go
Erlang · 0 人关注
x
0 人关注
zheap
new heap with in-place update, powered by undo, for eventual integration into PostgreSQL
MoYi123

MoYi123

V2EX 第 469223 号会员,加入于 2020-02-14 14:02:50 +08:00
今日活跃度排名 7323
MoYi123 最近回复了
dijkstra 关于这个写过文章, 可以看看.
https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html
建议发一下编译器的版本

或者试试看这样写
auto alloc = vector<int64_t>(2701131776 / 8 + 1);
char* yuanshuju = reinterpret_cast<char*>(alloc.data());
16 天前
回复了 avadakur 创建的主题 程序员 关于数据库高并发插入的版本号问题
直接用 mysql 的事务 id 怎么样?
@249239432 r-tree ,kd-tree 这些数据结构都不行, 还得是我最爱的集群 for 循环最高效
36 天前
回复了 main1234 创建的主题 程序员 [求问] 没学历没基础咋入门 AI 啊
很多年前收藏的 https://github.com/microsoft/ML-For-Beginners
当然看是不可能看的.
37 天前
回复了 SJH0402 创建的主题 MySQL mysql 分表能带来哪些显著的,可见的提升?
@SJH0402 你要是能直接把查询优化好, 有人会不听你的方案吗?
1. 把关键词列表放到一个 list, 去重排序, 并且把原先的关键词列表替换为这里的 rank, 关键词列表变成 list<list<rank>> 即把 string 离散化.

2. 把上面的 list<string> 变成 ac 自动机, 在文本中搜索. 得到一个 list<int>

3. 在 list<list<rank>>里搜索有哪几个 list<rank>是 list<int>的子序列, 在这里面抄一个最快的算法 https://leetcode.cn/problems/number-of-matching-subsequences/description/
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   996 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 19:49 · PVG 03:49 · LAX 12:49 · JFK 15:49
Developed with CodeLauncher
♥ Do have faith in what you're doing.