Comment on YouTube's new ad strategy is bound to upset users: YouTube Peak Points utilise Gemini to identify moments where users will be most engaged, so advertisers can place ads at the point.

<- View Parent
GenosseFlosse@feddit.org ⁨3⁩ ⁨weeks⁩ ago

This task is not that complicated. You have a list of timestamps with the seconds and the number of interactions for that second. All you need to do is to find the seconds with the most interactions. On a 1h video this would be only 3600 calculations if currentValue id greater than maxValue. If you store it as a Plain integer array you would need ~14KB of RAM. For comparison, a 1987 homecomputer with a 68000 CPU would do ~7Million calculations per second and have ~512kB of RAM, depending on the options.

source
Sort:hotnewtop