Ted Mostly

Results 26 issues of Ted Mostly

各种exit https://learn.microsoft.com/en-us/previous-versions/6wdz5232(v=vs.140) https://stackoverflow.com/questions/9758495/what-is-the-difference-between-stdquick-exit-and-stdabort-and-why-was-stdq 工厂模式的几种做法 - static map - 可以利用类来封装,利用宏生成多个static变量构造,来注册到map - singleton模版注册也可以,利用模版实例化来调用注册到map 这两种都适合分散写法 - 直接注册也可以,比如 ```c++ static std::unordered_map lru_cache_options_type_info = { {"capacity", {offsetof(struct LRUCacheOptions, capacity), OptionType::kSizeT, OptionVerificationType::kNormal, OptionTypeFlags::kMutable}}, {"num_shard_bits", {offsetof(struct LRUCacheOptions,...

https://devblogs.microsoft.com/oldnewthing/20210421-00/?p=105135 https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0981r0.html

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3347r0.pdf _Originally posted by @wanghenshui in https://github.sheincorp.cn/wanghenshui/cppweeklynews/issues/121#issuecomment-2294820825_

https://randomascii.wordpress.com/2012/05/20/thats-not-normalthe-performance-of-odd-floats/ _Originally posted by @wanghenshui in https://github.com/wanghenshui/cppweeklynews/issues/121#issuecomment-2291014381_

### Is this a regression? Yes ### Description 如果开启auto tune,配置bandwidth应拉高。或者用rocksdb默认值 ### Please provide a link to a minimal reproduction of the bug _No response_ ### Screenshots or videos _No response_...

☢️ Bug

…s upper bound. fix #3084 ## Summary by CodeRabbit - **New Features** - When rate limiter autotuning is enabled, bandwidth is now automatically set to 10 GB/s.

☢️ Bug