|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Efficient algorithm needed to split Set::IntSpan objectsby vitoco (Pilgrim) |
| on Sep 23, 2009 at 14:46 UTC ( #796989=note: print w/ replies, xml ) | Need Help?? |
|
c1 is overlapping b and a2 ranges. How many keys do you expect the hash to have? This approach could be difficult to handle... If you want to add many spans, you will end with many rows with only one X for each span. Also, if you want to add more than 9 spans with an X in the same position, the result string won't be enough.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||