4 ms·
actually common browser window sizes are divisible by 128, which means that you could just bitmask all but the last few digits to achieve the same result in a f
by ryacko 10y ago
actually common browser window sizes are divisible by 128, which means that you could just bitmask all but the last few digits to achieve the same result in a few cycles
- Walf 10y agoNo, you actually have to display the content inside a pane of a common size because there are many ways to get screen size indirectly from content that's occupying it. Think responsive mode of developer tools.