Tag

set operations

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Jan 4, 2025 · Databases

Understanding Redis Sets and Their Use Cases

Redis Sets are unordered collections of unique strings backed by hash tables that provide O(1) add, delete, and lookup operations, automatically switch to a compact integer array (intset) for small integer-only sets, and are ideal for deduplicated data and fast set operations such as intersection, union, and difference, exemplified by computing common friends in social applications.

BackendCode ExampleRedis
0 likes · 4 min read
Understanding Redis Sets and Their Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
Apr 7, 2020 · Fundamentals

Python Set Tutorial – Creation, Operations, and Usage

This article introduces Python's set data type, explains how to create empty and non‑empty sets, demonstrates common operations such as add, update, remove, discard, pop, clear, iteration, set algebra operators, and describes the immutable frozenset, all illustrated with code examples.

CollectionsPythonSet
0 likes · 9 min read
Python Set Tutorial – Creation, Operations, and Usage
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 21, 2018 · Big Data

Design and Implementation of a Scalable User Profiling System Using Hive and SQL Templates

To meet the growing demands of precise, cost‑effective user operations, the article outlines a lightweight, flexible profiling system built on Hive that uses SQL templates, custom UDFs, and set‑operation logic to enable attribute‑based user segmentation, batch processing, and seamless integration with downstream services.

Data EngineeringHiveSQL templates
0 likes · 11 min read
Design and Implementation of a Scalable User Profiling System Using Hive and SQL Templates