Toot

Written by crazyeddie on 2024-12-14 at 16:03

@lopta @lesley @TartanLlama It's deceiving. It's based on theory rather than practice. It can be quite wrong. For example, BigO says that inserting items into the middle of a list is faster than inserting them into a vector. Because of caching and lookahead though, and the fact that memory redirects counter that, it is more often faster to insert in the vector. BigO does not take these things into account and just counts the loops in your code.

=> More informations about this toot | View the thread | More toots from crazyeddie@mastodon.social

Mentions

=> View lopta@mastodon.social profile | View lesley@mastodon.gamedev.place profile | View TartanLlama@mastodon.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113652021164742534
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
220.17877 milliseconds
Gemini-to-HTML Time
0.440954 milliseconds

This content has been proxied by September (3851b).