ObjFW  History Of Ticket 15bcaa7d13c70fa5

Artifacts Associated With Ticket 15bcaa7d13c70fa5

  1. Ticket change [ffbf0127af] (rid 35513) by js on 2021-04-17 00:47:27:

    1. icomment:
      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.
      
    2. login: "js"
    3. milestone initialized to: "1.0"
    4. mimetype: "text/x-markdown"
    5. priority initialized to: "High"
    6. severity initialized to: "Important"
    7. status initialized to: "Open"
    8. title initialized to: "Add helper functions for time intervals"
    9. type initialized to: "Enhancement"
  2. Ticket change [a84bd97cc4] (rid 37178) by js on 2021-08-07 16:45:06:

    1. icomment:
      This is probably not worth it, as pretty much all compilers allow to generate code that uses doubles just via integer arithmetics. Yes, this is slow, but nothing should use so many time intervals that this is actually a problem. Using a struct that is just a double on some platforms and two integers on others would result in different precision on different systems - something that is very much not desirable. It would also make it much harder to serialize time intervals or dates.
      
    2. login: "js"
    3. mimetype: "text/x-markdown"
    4. resolution changed to: "Rejected"
    5. status changed to: "Closed"