GoLang Judy::firstEmpty

request it (298)
GoLang replacement for PHP's Judy::firstEmpty [edit | history]



Do you know a GoLang replacement for PHP's Judy::firstEmpty? Write it!

PHP Judy::firstEmpty

PHP original manual for Judy::firstEmpty [ show | php.net ]

Judy::firstEmpty

(PECL judy >= 0.1.1)

Judy::firstEmptySearch for the first absent index in the Judy array

Description

public int Judy::firstEmpty ([ mixed $index = 0 ] )

Search (inclusive) for the first absent index that is equal to or greater than the passed Index.

Parameters

index

The index can be an integer or a string corresponding to the index where to start the search.

Return Values

Return the corresponding index in the array.