hetech

Results 8 comments of hetech

> Q:为什么有回归环节? > A: 因为同一天会上线一个项目的多个需求,所以提前合入 master 回归(一般提前一天)这一步是为了避免多个需求同一天上线合码导致的一些 BUG,故而有了这个环节。 feature 分支合并到 master 的时机是不是早了一点?比如说 a 功能临时不上线了,遇到这样的场景还要再把 a 功能的分支剔除掉。

> 以前记得有virtual scrolling技术,可以大大加强巨大数据量下的表格性能,比如slickgrid之类: > https://github.com/mleibman/SlickGrid > > 这是slickgrid在极大数据量下的表现: > This page demonstrates various techniques for optimizing DataView performance for large client-side datasets. This page displays an interactive grid with 500'000...

There's a workaround. If you are using webpack, set `ignoreWarnings` option to skip parse error. https://webpack.js.org/configuration/other-options/#ignorewarnings ```js module.exports = { // ... ignoreWarnings: [/Failed to parse source map/] } ```...

> If I use slightly older versions (and the corresponding versions of their dependencies) then the opentelemetry-otlp example works fine. Use latest `tracing-opentelemetry = "0.0.28"` works well. > If the...

Thanks. Cloning the original regex object does indeed avoid the growth of memory usage. ```diff - for (i, caps) in REG.captures_iter(&text).enumerate() { + for (i, caps) in REG.clone().captures_iter(&text).enumerate() { ```...

> Using a regex across threads is fine. If I execute `memory_leak_demo` more than 2000 times, I find that the memory usage keeps growing. Suppose I am writing an API...

After testing, the memory usage will not keep growing when executing the code snippet below (no regex cloning here). Can we say: if you use regex.captures_iter in an async function,...

> I watched RES memory usage in htop and it remains fixed. No increases. That means there are no leaks. I used `htop` to monitor the memory usage and it...