Computational task management including memoisation and parallel execution