1
0
mirror of https://github.com/pgvector/pgvector.git synced 2026-10-23 10:48:54 +03:00

Improved test [skip ci]

This commit is contained in:
Andrew Kane
2026-10-06 17:25:35 -07:00
parent e1e2db32fa
commit b622dbdbf1

View File

@@ -20,9 +20,9 @@ for (1 .. 3)
{
my @elements;
my %indices;
for (1 .. int(rand() * 1000))
for (1 .. int(rand(1001)))
{
my $index = int(rand() * (100000 - 1)) + 1;
my $index = int(rand(100000)) + 1;
if (!exists($indices{$index}))
{
my $value = rand();