Commit 552e5be
committed
feature: Optimize MySql objects lists to use Contains functions as O(1)
- Remove unused imports
- Optmize Lists in MySqlObjects to use Dictionary instead of Lists to optimize Contains function
- Replaces empty strings to use string.Empty to allocate less memory
- Fix the event GetTotalRowsProgressChanged to be called asynchronous using Timer
- Fix ReportEndProcess call to be called when some exception occurs1 parent 0155b04 commit 552e5be
File tree
106 files changed
+1162
-1715
lines changed- source code
- MySqlBackup(Devart-Express)
- EventArgs
- InfoObjects
- Methods
- MySqlObjects
- MySqlBackup(MySql.Data)
- EventArgs
- InfoObjects
- Methods
- MySqlObjects
- MySqlBackup(MySqlConnector)
- EventArgs
- InfoObjects
- Methods
- MySqlObjects
- Test_ASPNET
- Test_WinForm_DevartExpress
- Test_WinForm_MySqlConnector
- Test_WinForm
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
106 files changed
+1162
-1715
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
| 7 | + | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 7 | | |
13 | 8 | | |
14 | | - | |
15 | | - | |
| 9 | + | |
| 10 | + | |
16 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
17 | 15 | | |
18 | 16 | | |
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
6 | 2 | | |
7 | 3 | | |
8 | 4 | | |
9 | 5 | | |
10 | | - | |
11 | | - | |
| 6 | + | |
| 7 | + | |
12 | 8 | | |
13 | 9 | | |
14 | 10 | | |
| |||
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
23 | | - | |
| 19 | + | |
24 | 20 | | |
25 | 21 | | |
26 | 22 | | |
| |||
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
48 | | - | |
| 44 | + | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
403 | 402 | | |
404 | 403 | | |
405 | 404 | | |
406 | | - | |
| 405 | + | |
0 commit comments