Alexander Brand

Results 7 comments of Alexander Brand

i personaly found the resuling code, that uses the function more readable. But this is personal preference. I can rework this with structs if you like

That might be a good idea. I tested 2 return types: ([]V, []bool), []struct{v V, exists bool} in benchmarks. I modified your benchmark. The return the get-method is iterated over...

Your Benchmark only tests the method and misses the access of the method retrieved. I find this important since you normally iterate through the information and load information the cache...

I will further test tomorrow

i will look at it this weekend

I can confirm: Currently it does nothing i can see

i'm experiencing this bug right now with Fedora 40 and GNOME 46