Skip to content

Comments

Introducing Count for Index column values#187

Open
invincible-akshay wants to merge 1 commit intohashicorp:mainfrom
invincible-akshay:anehe/efficient_count
Open

Introducing Count for Index column values#187
invincible-akshay wants to merge 1 commit intohashicorp:mainfrom
invincible-akshay:anehe/efficient_count

Conversation

@invincible-akshay
Copy link

Description

Introduces a Count function to efficiently return index column values using underlying immutable-radix tree's Len() function.

Related Issue

Add an efficient Count method to find the number of items in each index.

How Has This Been Tested?

Test TestMemDB_SimpleCount added in memdb_test.go

@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Feb 7, 2026

CLA assistant check
All committers have signed the CLA.

@invincible-akshay invincible-akshay marked this pull request as ready for review February 7, 2026 07:40
@invincible-akshay invincible-akshay requested review from a team as code owners February 7, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant