试一下这个算法的效率:
结果:
set.size(): 100000time:115
IdGenerator 唯一Id生成器
原文:https://www.cnblogs.com/telwanggs/p/13094983.html