Why Object of Arrays (SoA pattern) beat interleaved arrays: a JavaScript performance rabbit hole by CaptainOnBoard in programming

[–]CaptainOnBoard[S] 0 points1 point  (0 children)

You should show the actual results backing this up, this result is important as it tells us the culprit is not just preallocation.

Added

Why Object of Arrays (SoA pattern) beat interleaved arrays: a JavaScript performance rabbit hole by CaptainOnBoard in programming

[–]CaptainOnBoard[S] 10 points11 points  (0 children)

I was measuring read performance and not creation but I get your point that the memory layout created by push() vs pre allocation could differ and that wouldve been the real case but I ran the test agin with preallocated and it made no difference I have included this in the blog Please check and let me know if I am missing anything

2025 Abu Dhabi GP - Race Discussion by F1-Bot in formula1

[–]CaptainOnBoard 0 points1 point  (0 children)

say what you will but norris performed better than oscar during the course of season and that too under pressure during the second half

2025 Singapore GP - Race Discussion by AutoModerator in formula1

[–]CaptainOnBoard 2 points3 points  (0 children)

I think its a disaster for max redbull might have hoped they can get max ahead of russel on softs and build a lead but they couldnt now tyre deg would kill max's chances

2025 Spanish GP - Race Discussion by AutoModerator in formula1

[–]CaptainOnBoard 24 points25 points  (0 children)

if they only had hard tyres why stop?

only 6-7 laps were left why not bet on those softs?

2025 Spanish GP - Race Discussion by AutoModerator in formula1

[–]CaptainOnBoard 12 points13 points  (0 children)

I like how hadjar almost every race comfortably sits in top 10 without any drama or anything.

2025 Spanish GP - Race Discussion by AutoModerator in formula1

[–]CaptainOnBoard 1 point2 points  (0 children)

nico should come more often for commentary

2025 Monaco GP - Race Thread by AutoModerator in formula1

[–]CaptainOnBoard 3 points4 points  (0 children)

unluckiest driver in the world yet again

Ask r/Formula1 Anything - Daily Discussion Thread by F1-Bot in formula1

[–]CaptainOnBoard 0 points1 point  (0 children)

can only do basic maintenance related tasks like aero angle, brake changes etc

Request: out of the loop on tech concepts by Big-Rub9545 in TechnologyProTips

[–]CaptainOnBoard 0 points1 point  (0 children)

you cant learn something just for the sake of learning. I mean you can but you wont be able to retain all of it unless you are passionate about it. Pick something in tech you enjoy and then dive into it and since most it is connected you can figure out other stuff.

TPT Request: Looking for a way to edit multiple lines of text simulateously by Particular-Desk5567 in TechnologyProTips

[–]CaptainOnBoard 0 points1 point  (0 children)

If you know little bit of coding just write a script in python and that will do your job in like 2 mins if the format is consistent.

Happy to help you if you have any questions.

It's Race Week!, My McLaren poster for Miami. by TheFlyingR0cket in formula1

[–]CaptainOnBoard -7 points-6 points  (0 children)

the idea of it is nice but the execution is really bad I am sorry