正在加载视频...
视频加载失败
I've rewritten (Offsets, Regions, etc.) in Rust. Tests pass and everything seems to work. Now I need a benchmark to compare rendering speed. It certainly looks fast. But then it did before. 🤷♂️
11,300 次观看 • 1 年前 •via X (Twitter)
11 条评论

Everything is faster AFAICT. Even the simplest atomic operations.

Interestingly, attribute access is *slower*. If only by a few nanoseconds.

Stop wasting time reading 50 page documents. This AI tool is like ChatGPT for reading faster. Just upload any PDF and ask a question. It will give you an answer with page citations in seconds. Try it for free.

A small writeup on this will be golden.

how hard will it be to distribute on PyPI and conda-forge?

PyPI was easy. I assume Conda will be a similar story.

You write in Rust? 🧐

I do now!

What are some of the specific areas that are the slowest and you would like to re-implement?

If the code got simpler/shorter/easier-to-understand then IMO it's a change that makes sense, if not then you just made the code worse. Speed for such a low CPU load makes in my opinion no sense (It's ok if it's about learning rust and you wanted something simple to start).

Textual rewrite in rust soon? I’d love to contribute to that

