Open mwweissmann opened 8 years ago
Sure. Send the patch and I will review it. Thanks! ----- mwweissmann notifications@github.com a �crit�:
would you accept a patch to make the point-type flexible? So instead of forcing you to use a float, you could use an int (or something else). Probably the most straight forward implementation would be to make the current lib a functor -- and providing a float and an int applied one.
You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/UnixJunkie/interval-tree/issues/5
Is the module parameter your are thinking about just a type and a comparison function ?
I think a type, comparison and bisect function, yes.
Concerning ints, I guess that most ints can be stored inside a float. So, your use case is probably already supported. Unless you are dealing with very large integers?
would you accept a patch to make the point-type flexible? So instead of forcing you to use a float, you could use an int (or something else). Probably the most straight forward implementation would be to make the current lib a functor -- and providing a float and an int applied one.