Ben Thompson

Results 101 comments of Ben Thompson

Great idea! I've also run into situations where hot-reloading would be nice. I have some thoughts on how it might be feasible. When I get around to it, I'll think...

Currently, parallelism is [off by default](https://github.com/tbenthompson/cppimport/blob/00c40d9a7f706409156a42ff3a7934e54a8050c1/cppimport/templating.py#L46). If you turn parallelism on, the number of cores is equal to [`multiprocessing.cpu_count()`](https://github.com/tbenthompson/cppimport/blob/00c40d9a7f706409156a42ff3a7934e54a8050c1/cppimport/build_module.py#L73). This would be quite easy to modify. I have two proposals...

Reopened because this is something I want to do eventually.

This might be partially achievable, but I'm not particularly motivated to implement this. The benefit of putting the generated files in the same place as the source is that we...

Yeah. I can understand that. For the module importing to work well, the compiled module (.so, .dylib, .dll depending on platform) needs to be in the same place as the...

Now that I think about it, putting the compiled module in a sub folder would also be possible but would require a medium sized amount of re-architecting. I'll just leave...

Thanks! I'll leave this up and open in case it helps anyone.

Thanks for this! Would you be interested in submitting a pull request so that we can consider merging your changes into the repo? I've stopped using matlab so I won't...

Totally fine if you want to send me the changes via email. But, if you do want to submit a PR using GitHub, that's a bit easier for me to...

I also have experienced this issue. It's inconsistent and has only happened two or three times in last few weeks of daily notebook usage. It doesn't seem to cause any...