3min chapter

The Array Cast cover image

Fold and Other Functional Conjunctions

The Array Cast

CHAPTER

The Difference Between Cut and Sliding Reduce in C++

When you are doing a sort of reduction like operation combined with the cut primitive and i assume maybe the key as well is that you're not actually materializing the nested vector or whatever. things that sort of makes it feel like it's in a different category than other operations. In many languages you'll have to materialize those windows of seven and then do the check and thenDo the reduction at the end of the day whereas in some language that has a primitive that is doing all of this at once you can ignore all that stuff true um anyways in jay if an argument comes from scattered rows of an array i have to collect those into one array before i can apply the verb to it

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode