CrazyboyQCD
CrazyboyQCD
优化和修复
fix #86 feat #85  应该好多了   
OS: Windows 11 Model: [maidalun1020/bce-embedding-base_v1](https://huggingface.co/maidalun1020/bce-embedding-base_v1) Command: ```sh cargo run --features mkl --example bert --release -- --model-id maidalun1020/bce-embedding-base_v1 --use-pth ``` Candle(took ~15s): ```rust let s = std::fs::read_to_string( "test.txt", )?; // split...
### Summary `cast_lossless` does not effect on conversion of 8 or 16 bit integer to `isize/usize`. ### Lint Name cast_lossless ### Reproducer I tried this code: ```rust fn main() {...
OS: Windows11 rust(**release** ~308ms): ```rust use anyhow::Result; use qdrant_client::prelude::*; #[actix_web::main] async fn main() -> Result { let client = QdrantClientBuilder::default().build()?; let collection_name = "test_collection"; let t = std::time::Instant::now(); client .get_points(...
OS: Windows 11 deno version: 1.46.1 bun version: 1.1.25 node version: 21.5.0 Test script: ```js const testArray = [{ description: 'Random description.', testNumber: 123456789, testBoolean: true, testObject: { testString: 'test...
### Zig Version 0.14.0-dev.121+ab4c461b7 ### Zig Language Server Version fbd8b9a87a3cd5ab8389054815d9e3f81dfd430b ### Client / Code Editor / Extensions VsCode 1.90.2 ### Steps to Reproduce and Observed Behavior OS: `Window 11` Define...
There are many places where `Vec` is used as a builder to create `JsString`. This adds `JsStringBuilder` as a more natural choice.
**Describe the bug** When use dynamic library to render, clicking the exit button the application stop for seconds and exit with error. **To Reproduce** Steps to reproduce the behavior: **main.rs**:...
Use constant to reduce binary size. https://godbolt.org/z/YEq4hW49n
# Proposal ## Problem statement Standard library on Windows use some API bindings to get process information, but those bindings have a higher overhead than using [TEB](https://en.wikipedia.org/wiki/Win32_Thread_Information_Block), an internal struct...