Python is a scripting language that has some shortcomings in efficiency and performance compared to compiled languages such as C/C++. However, there are many times when Python’s efficiency is not as exaggerated as imagined. This article summarizes some tips for speeding up the running of Python code. Article directory 0. Code optimization principles The first […]
Tag: muc
MySQL log data table, how much faster is MyISAM than InnoDB query?
Table of Contents Briefly introduce the two engines Start actual measurement Comparing the capacity occupied by data, MyISAM occupies less space. From the comparison of query efficiency, MyISAM is indeed faster. MYISAM table structure Laravel table creation statement Laravel scheduled task-clean logs and keep only the latest 3 million records A brief introduction to the […]
How much do you know about the life cycle of Fragment?
Fragment life cycle Fragment is a component used to build user interfaces in Android. Fragment has its own life cycle, including the following stages: onAttach(): Called when a Fragment is associated with an Activity. You can obtain a reference to the associated Activity through this method. onCreate(): Called when a Fragment is created, it can […]
How to judge how much data is best to put in a table?
This is what happened Interviewer: Tell me about what you did as an intern. Friend: During my internship, I built a function to store user operation records. It mainly obtains user operation information sent from the upstream service from MQ, and then stores this information in MySQL for use by colleagues in the data warehouse. […]
personal experience! How much hatred do front-end students have for back-end interfaces?
Author: Li Yi Source: juejin.im/post/5cfbe8c7e51d4556da53d07f Foreword Sometime last year, I wanted to write a complaint about interfaces. At that time, the backend proposed an interface solution, which was very uncomfortable for me to call, but I couldn’t explain why and there was no argument, so I gave up. Recently, because of writing the full stack, […]
Who knows how much Promise falls?
Who knows how much Promise falls? Promise series navigation Preface 1. Promise.all() 1. Grammar 2. Code and description (1) Code segment (2) Code segment (3) Code segment (4) Code segment 2. Promise.any() 1. Grammar 2. Code and description (1) Code segment (2) Code segment 3. Promise.race() 1. Grammar 2. Code and description (1) Code segment […]
Bun 1.0 is officially released, the explosive front-end runs at a much faster speed!
Article directory 1. Baozi 1.0 2. Bun is an all-in-one toolkit Why do buns exist? 2. Bun is a JavaScript runtime Node.js compatibility speed TypeScript and JSX support ESM and CommonJS compatibility Web API Hot reload plug-in 1. Baozi 1.0 Bun 1.0 is finally here. Bun is a fast, all-in-one toolkit for running, building, testing, […]
Terence Tao: Using ChatGPT to write code saves so much time
(Free forever, scan the QR code to join) Reprinted from: Heart of the Machine Since using ChatGPT, Tao Zhexuan has come to praise it from time to time. Mathematician Terence Tao loves ChatGPT so much! A few months ago, we reported that Terence Tao used ChatGPT to assist in solving math problems. At that time, […]
[MySQL source code] Is the performance of UNION much worse than UNION ALL?
Original address: [MySQL source code] Is the performance of UNION much worse than UNION ALL? Welcome to my personal blog: http://blog.duhbb.com/ Introduction This article analyzes the difference between union and union all in MySQL from the source code perspective; the following conclusions are drawn: union and union all both create temporary tables, but they are […]
How much can I get from 25k college front-end outsourcing back to Wuhan from Shenzhen?
I officially resigned from the Shenzhen company in August 2023, and started investing in companies in Wuhan from the beginning of July. As of the end of August, I had 5 interviews and 3 offers in 2 months: one self-developed for 22k, two outsourced, one for 17k, and one for 18k. . In the end, […]