Tag:optimization

  • Some suggestions on HTML5 SEO optimization

    Time:2020-10-4

    for instance < title > Taobao – Taobao! I like < / Title > Use the description and keyword tag (no more than 300 characters is preferred) < meta name = “description” content = “Taobao – Asia’s largest online trading platform, providing all kinds of clothing, beauty, home furnishing, digital, phone / point card recharge […]

  • Two methods of computer upgrade and optimization

    Time:2020-8-5

    If the computer is permanent, it is inevitable that some infrequent software will occupy the system. As a result, the computer will not be as fast as when it is newly purchased, or if the computer is out of date and wants to upgrade, what should be done? Let’s share two practical optimization tips   […]

  • Example analysis of optimization, foreign key and three normal form usage of data table in MySQL database

    Time:2020-7-30

    This paper describes the optimization of data table, foreign key and the usage of three normal forms in MySQL database. For your reference, the details are as follows: Data table optimization Optimize the product information table 1. Create commodity category table: create table if not exists goods_cates( id int unsigned primary key auto_increment, name varchar(40) […]

  • Detailed explanation of optimizing the performance of date format in Vue

    Time:2020-7-9

    In many projects, it is necessary to convert the long integer date format to other date formats. In Vue, we can customize the corresponding filter filter to perform the function of date format. If you directly introduce the method of moment, when using NPM run build — report, you will find that moment.js The file […]

  • IntelliJ idea stuck, how to optimize memory

    Time:2020-6-17

    In a discussion with colleagues, the author of this paper found that different memory settings for IntelliJ idea will have different effects on the speed and responsiveness of IDE. Don’t be a Scrooge and give your IDE some more memory Don’t be a miser. Save more memory for IDE. Yesterday, we discussed whether to customize […]

  • Analysis of Java for loop performance optimization

    Time:2020-6-7

    This article mainly introduces the implementation and analysis of Java for loop performance optimization. The example code is introduced in detail in this article, which has certain reference learning value for everyone’s study or work. You can refer to the following for friends who need it It is necessary to optimize the code for some […]

  • Analysis of Java for loop map collection optimization

    Time:2020-6-6

    This article mainly introduces the implementation and analysis of Java for circular map set optimization. The example code is introduced in detail in this article, which has certain reference value for your study or work. You can refer to the following for your friends In “for loop performance optimization”, we put forward five optimization strategies […]

  • SIMD or Algorithm – 0001

    Time:2020-3-5

    Traditional treatment The traditional processing method is purely based on C + +, which is processed by pointer operation. The general optimization is to use fixed-point numbers instead of floating-point numbers. The methods used here are: Ratio = (color component value * 65535) / 255 Convert to displacement operation: Ratio = (color component value < […]

  • SIMD or Algorithm – 0010

    Time:2020-3-4

    Traditional method + OpenMP Use OpenMP to optimize traditional methods. Thanks to OpenMP, it’s much more convenient to realize multithreading optimization! In the age of multi-core, OpenMP will become our weapon! float test_Normal_OMP_Filter() { BYTE* buf = (BYTE *) malloc (1024 * 1024 * sizeof (int)); // allocate memory Byte * PTR = buf; // […]

  • SIMD or Algorithm – 0011

    Time:2020-3-3

    SIMD processing is realized by using the method of Intrinsics With intrinsics, SIMD instructions of hardware can be used for processing. Does MMX, SSE, SSE2 (AMD has obtained the technology through cross licensing) look so good? Let’s see. Fixed point number technology is also used in the process. float test_SIMD_Filter() { //Image memory of Analog […]

  • SIMD or Algorithm – 0100

    Time:2020-3-2

    Intrinsics, SIMD, plus OpenMP This time it’s very simple, just add the OpenMP indication to the loop: #paragm omp parallel for for(int h = 0; h < 1024; h++) { ……. #paragm omp parallel for for(int w = 0; w < 1024; w++) …… } You see, now we have to compare the results. int […]

  • Optimizing Ruby script efficiency instance sharing

    Time:2020-2-23

    Profile.rb is a profiler for Ruby programs. It can count and output the running time of each method to find the performance bottleneck of program execution. This time, it is used to analyze the running time of the script. It is easy to use. With the command line option – R profile, you can: ruby […]