There is some sample code you could reuse in DateTime::TimeZone (see the _spans_binary_search method)
The Set::Infinite module covers this problem, but it does not try to be "efficient".
Anyway, 100k is a lot of data, and you'd better not keep it in RAM. If you follow Abigail directions you'll find a lot of papers in google about how to do this using a database.
In reply to Re: indexing segments
by fglock
in thread indexing segments
by glwtta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |