04 2018 档案
摘要:对于这个问题自己是比较清楚的,在分支比较多时,switch-case的效率肯定比if-else的要高许多,其原理类似于我们在优化某些程序时使用查表来代替算法计算一样。 如果想进一步深究的话,可以查看GCC编译之后的汇编代码。 这里有两篇Blog可以参考一下,致谢两位作者。 1. switch与ife
阅读全文
摘要:参考资料及致谢 本文的绝大部分内容转载自以下几篇文章,首先向原作者致谢,希望自己能在这些前辈们的基础上能有所总结提升。 1. 运动规划/路径规划/轨迹规划的联系与区别 https://blog.csdn.net/wx545644217/article/details/54175035 一、基本概念
阅读全文
摘要:All good things must come to an end. 好景无常。 Love is when the other person's happiness is more important than your own. 情是君喜胜于己欢。 From H. Jackson Brown
阅读全文
摘要:All good things must come to an end. 好景无常。 Love is when the other person's happiness is more important than your own. 情是君喜胜于己欢。 From H. Jackson Brown
阅读全文
摘要:All good things must come to an end. 好景无常。 Love is when the other person's happiness is more important than your own. 情是君喜胜于己欢。 From H. Jackson Brown
阅读全文
摘要:Easy come, easy go. 易得则易失。 Easy come, easy go, I finally undestand the phrase through somewhat hard way. Things were going so well for a moment, I was
阅读全文
摘要:Better later than never. 亡羊补牢,时犹未晚。 Time and again all of us are told to complete the tasks assigned to us on time and being lazy most of us would fai
阅读全文
摘要:Hope for the best, but prepare for the worst. 抱最好的愿望,做最坏的打算。 To hope for the best and prepare for the worst was first said by John Jay in 1813. Back t
阅读全文
摘要:Fortune favors the bold. 勇者天佑。 It has been increasingly apparent that courage is the main quality we need to start our own business, it can't make one
阅读全文
摘要:Tomorrow never comes. 我生待明日,万事成蹉跎。 Most of my past failures can be chalked up to the bad habit of procrastination. If I had accomplished every task ti
阅读全文
摘要:No cross, no crown. 不经历风雨,怎能见彩虹。 Sometimes you can see a beautiful rainbow high in the sky without having to experience wind and rain, for you can sta
阅读全文
摘要:Make hay while the sun shines. 勿失良机。 Last night the toothache woke me up and it was very difficult for me to get asleep again. I felt very depressed t
阅读全文
摘要:Let bygones be bygones. 过去的就让它过去吧。 What happened has happened, it cannot be undone, so just leave it in the way it si, and think of the way out or way
阅读全文
摘要:Knowledge makes humble, ignorance makes proud. 博学使人谦逊,无知使人骄傲。 Humility is not equal with being passive, submissive or insecure, instead, humility mean
阅读全文
摘要:Great minds think alike. 英雄所见略同。 If great minds really did think alike, then we would live in an unreal world which is just a Dstopia. Given that our
阅读全文
摘要:A good beginning is half done. 良好的开端是成功的一半。 We can't finish anything if we don't start, sometimes getting started might be the hardest part of the who
阅读全文
摘要:LIfe is about making an impact, not making an income. 生命在于影响他人,而非赚钱糊口。 From Kevin Kruse. You probably argue that one must make an income first, then i
阅读全文
摘要:Those are my principles, and if you don't like them... well, I have others. 那是我的原则,要是你不喜欢......那我还有其他原则。 From Groucho Marx. Please hold on to your pri
阅读全文