Zed(Zijun) Chen

Results 14 comments of Zed(Zijun) Chen

Encountered a similar issue and I think it is related. After adding a canvas source with animate set to `true` (and a rester layter referencing this canvas source), `this.map.addControl(mapboxDraw, "bottom-left");`...

Once fixed, need to update #91 and #88.

I think it might be better to handle this instead of including every variables in that scope when generating the auto generated procedures. Identifying and removing unused parameters is really...

I guess what we need is to build dependency graphs for the statements (should be easy with the help of ssa), and then do a topological sort with a tiebreaker...

> Interesting. Can you try a compute-bound process and see if that behaves differently? Could it be a VM issue? I don't think it's a VM issue. It's very hard...

The parallel marking of bdw gc is definitely the cause. The issue can be avoided by setting the environment variable `GC_NPROCS=1`. However, I am not sure how to fix this....

Update: I created a issue in the bdwgc repo, and I think for now the only thing we can do is disabling the parallel marking. Currently, the only way to...

Some update: There is a new api in bdw gc that can adjust number of markers at initialization. However, for now we are using the gc from homebrew on macOS...

Well, the current fix is just a workaround(force the GC to only use one thread for marking). A proper fix requires the new feature of bdw gc: [Reduce number of...

linter+prettier sounds great, I've been wanting this for a long time (but I'm too lazy and didn't actually do it). For prettier, how about [https://github.com/haskell/stylish-haskell](https://github.com/haskell/stylish-haskell)? I personally prefer consistency over...