Timeline for Faster way of doing this?
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 30, 2012 at 22:30 | vote | accept | Community Bot | ||
| Dec 19, 2012 at 19:31 | comment | added | Salman Arshad | Are you sure this is the slowest part of your code? If you're inserting multiple rows, use a multiple insert query (dev.mysql.com/doc/refman/5.6/en/insert-speed.html). | |
| Dec 19, 2012 at 19:21 | comment | added | user1105787 | I'm going through thousands if not millions of keys and values, every millisecond counts in the long run. I'll take any suggestions that improve the speed, if it's proven to execute faster. | |
| Dec 19, 2012 at 19:13 | comment | added | Andy Lester | How long does it take to execute now? How long do you need it to execute in? "Faster" is meaningless without specific goals. | |
| Dec 19, 2012 at 19:09 | comment | added | user1105787 | Yup,There is no nesting, the indentation helps me group things quickly while coding. Since my coding is very messy. How would I nest these to do what I described? | |
| Dec 19, 2012 at 19:07 | history | edited | Alister Bulman | CC BY-SA 3.0 |
clean up formatting
|
| Dec 19, 2012 at 19:07 | answer | added | mychalvlcek | timeline score: 1 | |
| Dec 19, 2012 at 19:07 | history | edited | Jon Gauthier | CC BY-SA 3.0 |
indentation
|
| Dec 19, 2012 at 19:07 | answer | added | Baba | timeline score: 2 | |
| Dec 19, 2012 at 19:05 | comment | added | Michael Berkowski |
The indentation is deceptive. There is no nesting happening here, just a set of foreach loops arranged in series.
|
|
| Dec 19, 2012 at 19:01 | history | asked | user1105787 | CC BY-SA 3.0 |