| ▲ | broken-kebab 17 hours ago | ||||||||||||||||
Assuming this would make this comment less reasonable though. Optimization for memory usage is distinct from optimization for performance in our craft. And it's pretty basic thing. | |||||||||||||||||
| ▲ | doodlesdev 16 hours ago | parent [-] | ||||||||||||||||
Rust-based Discord achieves both, though... You can absolutely get an application to run faster while using less memory, given there's enough low-hanging fruit (and with today's software, there certainly is...). If you're optimizing sorting algorithms, video decoding or compression software, then that's another story, because using more memory can trade time complexity for space complexity in your algorithm (i.e. Merge Sort vs Insertion Sort). | |||||||||||||||||
| |||||||||||||||||