Posts Tagged ‘benchmark’

searching for longest prefix

2008-03-04 12:56:42 CET | 24 Comments | Tags: , , ,

couple of times is was brought to attention of #postgresql channel - how to find longest prefix.

case: you have phone number, and you want to find which carrier it is bound to.

there are at least 3 ways of finding it, and i decided to take a look at which is fastest.

- MORE -