摘要:未赋初值的局部比阿娘会导致难以debug的问题,而这些通常都是编译器造成的。
阅读全文
摘要:对自己的code,在上传之前,使用valgrind来清除mem leak问题
阅读全文
摘要:在对1.3G大小的vcd文件进行压缩时,没有优化过的运行时间是14个小时,利用gpertools工具对算法进行性能瓶颈分析之后,最主要的优化地方是将string类型的字符串拼接方式由+改为+=,目前运行时间为220s. 其次优化了读取vcd文件的方式,使其能够从特定的位置开始读取,不存在读到无效数据
阅读全文
摘要:https://renyili.org/post/cereal%E5%BA%8F%E5%88%97%E5%8C%96%E5%BA%93%E4%BD%BF%E7%94%A8%E6%80%BB%E7%BB%93/
阅读全文
摘要:https://blog.csdn.net/qq_36327203/article/details/108697677
阅读全文
摘要:https://blog.csdn.net/weixin_38169562/article/details/99774871
阅读全文
摘要:https://www.cnblogs.com/beeasy/p/6063924.html
阅读全文
摘要:https://langzi989.github.io/2018/07/05/pthread%E4%BD%BF%E7%94%A8barrier%E6%A0%85%E6%A0%8F%E6%96%B9%E5%BC%8F%E5%90%8C%E6%AD%A5/
阅读全文
摘要:原文:https://wiki.ubuntu.org.cn/%E7%94%A8GDB%E8%B0%83%E8%AF%95%E7%A8%8B%E5%BA%8F
阅读全文
摘要:原文:http://c.biancheng.net/view/479.html
阅读全文
摘要:make_shared的使用: shared_ptr<string> p1 = make_shared<string>(10, '9'); shared_ptr<string> p2 = make_shared<string>("hello"); shared_ptr<string> p3 = ma
阅读全文
摘要:1.find()用于搜索无序集合中是否存在某值。搜索范围由iterator[first,last]指出。如果找到目标,find()会返回一个iterator指向该值,否则返回一个iterator指向last。 2.count()返回数值相符的元素数目。 3.Iterator(泛型指针),可提供有如内
阅读全文
摘要:#include<iostream>#include<fstream>#include<vector>#include<algorithm>#include<map>#include<set> using namespace std; ////0.declare function void Init
阅读全文