Yichao 'Peak' Ji

Results 36 comments of Yichao 'Peak' Ji

Any news on this? This would be a great feature to have.

google/crc32c looks great, benchmarks: https://github.com/google/leveldb/commit/5c39524f3639e6bf6ab49215152d24273e662986

+1 for `openSync`, `getSync`, and `putSync`. We often use leveldown for simple analytics jobs, atomic ops (like `INCR` in **Redis** or `findAndModify` in **MongoDB**) could be implemented easier with these...

Multiple get calls on one single snapshot can be achieved by creating multiple iterators at the exact same time. @frankboehmer have you tried this approach? I think the performance should...

@frankboehmer This is just a workaround 😉. It works because each `iterator` has their own internal `snapshot`, and since Node.js is single-threaded in the JS land, all the `snapshot`s we...

@vweevers Suppose we are creating a simple inverted index, and we put the index keys and documents in one single database by using different prefixes: | key | value |...

> why did you make this edit to your comment Just theoretically, I didn't run the benchmark yet: In the inverted index example, we can have another iterator and use...

It depends on our requirements for data quality. The relationship between Simplified and Traditional Chinese is more like translation than transliteration, one-to-one mapping between characters cannot be simply relied upon....

感谢反馈!我们最初设计实验时也考虑过 sampling 导致的随机性,但每个问题给多次输出会显著提升评价者的工作量,同时也不便于读者横向对比。 为此,我们计划对能够调整 `temperature` 或 `top-k`/`top-p` 等参数的模型选用 deterministic 输出作为标准,但遗憾的是目前仅有 GPT-3.5 (`text-davinci-003`) 等以 API 形式提供服务的模型可以兼容。

We are currently implementing a in-memory storage and will work on adding relational database support when it is stable.