RyanZ
RyanZ
https://github.com/neurobin/shc/blob/274e98da23d5dbeeefa32a62bbc7c94bb7da10c7/src/shc.c#L1055 Is there any reason to use high order bits instead of low order bits? Low order bits implementation is much straightforward. ` rnd = rnd % mod` ``` unsigned...
use ending character to optimize regex matching process ideas from https://github.com/satyrius/gonx#format
## What type of PR is this: - [ ] bug - [ ] feature - [x] enhancement - [ ] refactor - [ ] others ## Which issues of...
## What type of PR is this: - [ ] bug - [ ] feature - [x] enhancement - [ ] refactor - [ ] others ## Which issues of...
## What type of PR is this: - [ ] bugfix - [ ] feature - [x] enhancement - [ ] refactor - [ ] others ## Which issues of...
Fixes # (issue) #### Before submitting Here are some examples to use StarRocks as vectordb ``` from langchain.vectorstores import StarRocks from langchain.vectorstores.starrocks import StarRocksSettings embeddings = OpenAIEmbeddings() # conifgure starrocks...
## Why I'm doing: Rigjht now hdfs scanner optimization on count(1) is to output const column of expected count. And we can see in extreme case(large dataset), the chunk number...
## Why I'm doing: ## What I'm doing: Fixes #issue ## What type of PR is this: - [ ] BugFix - [ ] Feature - [ ] Enhancement -...
Maybe quite naive, but why use `mm_sfence` if size >= L2 cache size? https://github.com/skywind3000/FastMemcpy/blob/master/FastMemcpy.h#L680 And what if L2 cache size (0x200000) is not actually L2 cache size, is there any...
代码里面有个地方,不知道是不是我理解错误:我觉得 `mread_pool->skip` 这个字段,感觉不应该放在 `mread_pool` 这个结构里面,应该是放在 `struct socket`里面。我理解这个字段的含义是:”当前连接读取了多少个字节,所以下次读取size的时候应该跳过这些字节"。所以这个 skip 字段应该是放在 `struct socket` 下面。 另外 ringbuffer_block 看上去像是一个单向链表只保持了头部,这个在 ringbuffer_link的时候会不会存在效率问题。如果client多次发送小块数据的话,感觉这个链表会特别长。(当然这个和应用场景有关,如果client是可信任的话就无所谓了)