mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

Martinsstar

@mauve cool would be nice to know if my guess is right.

If two maps need to get compared, i would iterate the first map and look in the second if the key exist. So i guess using of maps will be faster ( because of the key lookup), than to create two arrays of keys and do the lookup there.

But i prefer to use a readable solution over an fast one 😉

Currently i have no time ( maybe tomorrow ) to do an benchmark about this. If you are faster, please inform us about your result 😎 👍