VB I don t think it s thoughtful, please complete and optimize the prawns

Updated on technology 2024-02-08
10 answers
  1. Anonymous users2024-02-05

    With there seems to be nothing simplified at present.,This was originally Qiaosen for the sake of simplicity to write Min Pai Mu.。 The main thing is not knowing the specifics.

    In addition, the load form3 sentence can be deleted, because the following one already contains load form3

    The following let can be removed.

  2. Anonymous users2024-02-04

    It's all about simplification!

    The word let is not needed.

  3. Anonymous users2024-02-03

    dim chkvalue() as integer

    dim i as long,n as long 'long is the fastest; Repeating arrays is faster than repeatedly accessing elements.

    redim chkvalue(

    for i = 0 to ubound(chkvalue)

    chkvalue(i)=

    nextif = true and = true then

    fff = false

    for dd = 0 to 36

    for j = dd + 1 to 36

    for n = j + 1 to 36

    if chkvalue(dd) = 1 and chkvalue(j) = 1 and chkvalue(n) = 1 then

    if not (ww(dd) fff = true

    goto go1

    end if

    end if

    nextnext

    next go1:

    if fff = false then

    iend if

    end if

    According to the logic of your program, it seems that as long as the check has a hook and the back judgment is really not deleted?

    Abbreviated ideas:1Accessing arrays is much faster than accessing elements (. Especially if this kind of program is accessed frequently, it will speed up even more.

    type loops are faster than unspecified type loops (32-bit processors).

    3.Since as long as one matches the subsequent value, it will not change the value, so you can exit the loop directly.

    4.Algorithm optimization. All three are accessed, so just 1 loop is all it takes.

    And then the cycle resumes, because you don't have a lot of clarity, and I don't know exactly what it is.

  4. Anonymous users2024-02-02

    1 lockwindowupdate lock interface refresh2 put this kind of processing into the module to speed up the processing3 I haven't used msflexgrid1, you can check if msflexgrid1 has a refresh event, if so, then false first after all the load is done and then true

    4 Putting strings into variable processing speeds up processing.

  5. Anonymous users2024-02-01

    You change the mid function to charat().

  6. Anonymous users2024-01-31

    5-layer cycle, there are too many undersets, it's strange if it's not slow, take it apart and write.

    The first layer of the loop is the split assignment, and it's nice for you to put the value into the array.

    The second layer takes the value of the table unit in a loop, which can be embedded in it.

    The innermost three loops don't have to be nested inside, it's better to take them out.

  7. Anonymous users2024-01-30

    The key is whether your ideas are very simplified, it is recommended to paste your ideas up, and what problems to solve.

  8. Anonymous users2024-01-29

    If there is no problem, there is no need to optimize, there are many reasons for optimization, if it is very slow, then change it, if there is no great improvement in program efficiency after optimization, there is no need to waste this time.

  9. Anonymous users2024-01-28

    i + k + j = 0 can be changed to i = k = j

    But it looks like it's a countdown shutdown program, and it's recommended that you use a timer, and the current time of the system will run along with the startup.

  10. Anonymous users2024-01-27

    You yourself said yes, optimization doesn't help much, so don't waste that time

Related questions
4 answers2024-02-08

What is done now is to study hard, get into a good university, get a good job ......If there is a fate, they will be together, and if they are not, they will give each other time. >>>More

12 answers2024-02-08

Since it is opened, it cannot be logged out. Only don't play anymore.

6 answers2024-02-08

At present, there is no unified system in the country.

are all in the process of exploration, and some local regulations have been introduced in various places. >>>More

28 answers2024-02-08

Top Star TM-P4S661G 390 yuan (260 yuan for the same chipset) Brand: Top Star (topstar). >>>More

20 answers2024-02-08

There must also be a great demand for herbs on Lianjin. Then there's fishing. It's like picking money. >>>More