Tagged articles
2 articles
Page 1 of 1
ITPUB
ITPUB
Aug 27, 2023 · Databases

How to Use Redis Sets for Powerful Intersection, Union, and Difference Statistics

This article explains how to leverage Redis Set, Sorted Set, Bitmap, and HyperLogLog data structures for various statistical scenarios such as user sign‑in tracking, friend recommendations, comment ranking, and UV counting, while addressing performance and memory considerations.

BitmapDifferenceHyperLogLog
0 likes · 11 min read
How to Use Redis Sets for Powerful Intersection, Union, and Difference Statistics
Laravel Tech Community
Laravel Tech Community
Nov 27, 2020 · Backend Development

array_udiff_assoc() – Compute Array Difference with Index Check Using Callback Comparison

This article explains PHP’s array_udiff_assoc function, detailing its purpose of computing array differences with index checks using a user‑defined callback, describing its parameters and return value, and providing a complete example with class definition, custom comparison function, usage code, and resulting output.

ArrayBackendDifference
0 likes · 3 min read
array_udiff_assoc() – Compute Array Difference with Index Check Using Callback Comparison