Time intervals are currently doubles with no further abstraction. This means that time intervals are added, subtracted and compared using regular double operations. This is problematic on platforms on which double is slow or even non-existent. It would be better to make it transparent and offer helper functions: This would allow to make it struct with two integers in the future.