Computing time problems

The originina thread where this was discussed a bit more (primarily for C++) is here.