silverqx
cb21d3901f
removed useless include
2022-12-20 16:15:19 +01:00
silverqx
42887d1f59
bump version to TinyORM v0.26.1
2022-12-19 19:58:05 +01:00
silverqx
528be2b3dc
used std::ranges::sort()
2022-12-19 19:55:28 +01:00
silverqx
57bdb0286c
fixtypo
2022-12-19 19:54:32 +01:00
silverqx
ba6551daf8
bump versions to TinyORM v0.26.0 and tom v0.5.2
...
Last two TinyORM and tom releases was about performance optimizations.
Practically no performance gain, especially in production builds,
the MSVC optimized builds are amazing.
Some perf. gain in debug builds, but only few milliseconds,
from 50-200ms, and so many perf. optimizations done. 😵💫
- bump also to TinyUtils v0.2.1 (forgotten version bump)
2022-12-19 18:57:17 +01:00
silverqx
8ee24123da
moved raw() methods up and updated section comment
2022-12-19 17:12:21 +01:00
silverqx
fd20c30318
added DB/DM::raw() rvalue overload and noexcept
...
- added raw() rvalue overload everywhere
- made Query::Expression noexcept where possible
2022-12-19 17:06:25 +01:00
silverqx
06841a25ce
added section comment
...
[skip ci]
2022-12-19 16:50:52 +01:00
silverqx
4820c5a8f9
bugfix Qt5 builds
2022-12-19 14:47:48 +01:00
silverqx
00a1862cf5
removed comment
2022-12-19 13:55:05 +01:00
silverqx
c13455c108
used QStringView
...
Reason is to enhance performance.
2022-12-19 11:07:36 +01:00
silverqx
7cb0dbfe89
added MySQL SSL constants
2022-12-19 11:06:16 +01:00
silverqx
066fe807d6
get rid of QRegularExpression
...
- also used QStringView to split
2022-12-19 10:59:50 +01:00
silverqx
0f4e33b320
used QStringView
2022-12-17 16:30:51 +01:00
silverqx
347b114dfb
used auto && instead of auto &
2022-12-16 20:07:51 +01:00
silverqx
5ee6a561b7
whitespaces
2022-12-16 18:47:13 +01:00
silverqx
4077c66ad9
don't use std::move() in QString::arg()
2022-12-16 18:09:47 +01:00
silverqx
93ad7ce977
fixed clang warning
2022-12-16 18:03:18 +01:00
silverqx
dd24727c37
moved unused Utils methods to NOTES.txt
2022-12-16 15:29:11 +01:00
silverqx
5a2faf37b9
added reserve for Container::join()
2022-12-16 15:27:53 +01:00
silverqx
f3a2c468d9
bump versions to TinyORM v0.25.0 and tom v0.5.1
2022-12-15 13:59:18 +01:00
silverqx
6d9f18cf6c
commented unused code
2022-12-15 11:20:57 +01:00
silverqx
a7a8dea944
used << instead of append() for lists everywhere
2022-12-15 11:17:25 +01:00
silverqx
afdea43ca0
added static_cast<> for reserve()
2022-12-15 11:17:25 +01:00
silverqx
84a65dea0b
revisited some reverse()
2022-12-15 11:17:20 +01:00
silverqx
859c537a10
removed useless using alias
2022-12-15 09:39:52 +01:00
silverqx
20734445dd
whitespaces
2022-12-14 14:43:38 +01:00
silverqx
0896e7af27
reverted to append()
2022-12-14 11:59:39 +01:00
silverqx
14b1483c15
revisited some reserve()
2022-12-14 11:57:03 +01:00
silverqx
d7e601a63a
bugfix size_type
2022-12-14 11:35:02 +01:00
silverqx
08dc072ae0
fixed clang warnings
2022-12-12 19:32:27 +01:00
silverqx
1d29826186
added reserve() in BaseGrammar
...
- also added a new Container::countStringSizes() utils method
2022-12-12 18:17:47 +01:00
silverqx
e519fceb89
used type container dependent size_type
2022-12-12 18:16:38 +01:00
silverqx
837ccd0b4f
added reserve() in Grammar
2022-12-12 17:58:13 +01:00
silverqx
eb0d2a5f66
removed todo task
2022-12-12 17:57:44 +01:00
silverqx
98e2965b6b
added new TMPL_SQUOTES constant
2022-12-12 17:56:58 +01:00
silverqx
fef25c5f7d
added reserve() for containers in Grammar
...
For almost all containers in the QueryGrammar.
2022-12-12 17:15:21 +01:00
silverqx
33f0415cee
used try_emplace() everywhere
...
Of course where it make sense. 🤓
2022-12-12 13:48:09 +01:00
silverqx
e642fddbb8
used Qt6's QString::sliced/first everywhere
2022-12-11 20:49:13 +01:00
silverqx
1def28830b
added new TMPL_PLURAL string constant
2022-12-11 19:49:20 +01:00
silverqx
cb360d1598
reordered template constants
...
- also added some section comments
2022-12-11 19:35:04 +01:00
silverqx
aea9a7ea74
used QStringLiteral()
2022-12-11 16:36:42 +01:00
silverqx
6a8810b21c
used std::move()
2022-12-11 16:36:27 +01:00
silverqx
8078a24332
perf enhanced Grammar
2022-12-08 19:55:03 +01:00
silverqx
83546a0f31
perf enhanced Grammar::concatenate()
2022-12-08 19:12:13 +01:00
silverqx
2fd0afc263
added and used setColumns() rvalue overload
2022-12-08 19:11:40 +01:00
silverqx
8e3314d41c
added noexcept
2022-12-08 19:10:56 +01:00
silverqx
e31ae366d1
moved method down
2022-12-08 18:03:29 +01:00
silverqx
03fc82ae00
perf completely avoid the __tiny_func__
...
For performance reasons, the __tiny_func__ is exclusively used only
in the exceptions.
2022-12-08 17:58:14 +01:00
silverqx
e6c0fc9917
perf removed __tiny_func__
...
Until I will have a fast __tiny_func__ implementation, then I can
revert it. Also use static local variables instead!
2022-12-08 16:03:38 +01:00