kostya / benchmarks

Some benchmarks of different languages
MIT License
2.82k stars 255 forks source link

Rust improvements #456

Closed ricvelozo closed 1 year ago

ricvelozo commented 1 year ago

New macro notify! to simplify use (exported as a crate to be shared), and other minor improvements.

nuald commented 1 year ago

Looks good. Please note that originally the code duplication (including for notify) was intentional so the code could be copy pasted into other projects. However, considering that notify functionality has no use for other projects, it's totally fine to extract it into the common module (like it's done for C++).