Note how we optimize the memory usage here To check if a row exists in map we are using existing rows That way we do not build an entire vector only to find out we have a mismatch on the first element
请注意我们如何优化内存使用。为了检查一个行是否存在于map中,我们使用现有的行。这样,我们就不需要构建整个向量,只发现第一个元素不匹配。
原文地址: https://www.cveoy.top/t/topic/g5Uv 著作权归作者所有。请勿转载和采集!