Tagged articles
9 articles
Page 1 of 1
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.

Code ExampleSet OperationsSets
0 likes · 4 min read
Understanding Redis Sets and Their Use Cases
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 8, 2021 · Fundamentals

Boost Your Python Combinatorial Solver: Faster Code with NumPy & Set Tricks

This article revisits a Python combinatorial challenge—selecting five numbers from a random fifteen‑element list that include consecutive values—presenting an optimized solution that leverages NumPy arrays, set operations, and intersection logic to cut execution time from twelve seconds to about one and a half seconds, while explaining the underlying reasoning.

Combinatorial AlgorithmsMonte CarloSet Operations
0 likes · 6 min read
Boost Your Python Combinatorial Solver: Faster Code with NumPy & Set Tricks
Programmer DD
Programmer DD
May 6, 2021 · Backend Development

Building a Fast Search with Redis: From Complex SQL to Set Operations

This article walks through the challenges of implementing a complex e‑commerce search interface, compares a naïve SQL solution with optimized multi‑query and Redis‑based approaches, and demonstrates how to use Redis sets, sorted sets, and transactions to achieve efficient querying, pagination, and data updates.

BackendSet Operationspagination
0 likes · 9 min read
Building a Fast Search with Redis: From Complex SQL to Set Operations
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.

CollectionsSetSet Operations
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.

SQL templatesSet Operationsdata engineering
0 likes · 11 min read
Design and Implementation of a Scalable User Profiling System Using Hive and SQL Templates