ObjFW  Ticket Change Details


Artifact ID: a84bd97cc494311a356c6604e95436911895e3286c1171f85b29049dd8b8c350
Ticket: 15bcaa7d13c70fa5648ac97d9063dbcb127c7625
Add helper functions for time intervals
User & Date: 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"