我遇到了一个问题,我需要比较要处理的文件路径的大列表和已经处理的文件列表。我不想只更改change中的字符串以匹配原始列表中的字符串,因为这会破坏可移植性(而且字符串实际上比示例中复杂得多)。是否有一种更有效的方法来生成最终的作业变量?output_list = [f'{x}.npy' for x in range(100000)]jobs
我的职能如下: val results: List[Future[List[String]]] = members.map(currUser => retrieveAllFriends( currUser))
//go through the results, and return a future of a map of usernames to the number of ti