Commit Graph

15 Commits

Author SHA1 Message Date
ArtemisX64
6cd2c02ae3 Make comments consistent with whole codebase 2022-08-26 21:20:31 +09:00
ArtemisX64
660d07b887
Fix formating 2022-08-26 20:01:43 +09:00
ArtemisX64
480ce8c0e2
Merge branch 'main' into dev 2022-08-26 19:57:48 +09:00
Andrea Pappacoda
19a0a3a359
perf: optimize GenerateRandomString() (#66)
The previous implementation used an std::stringstream to concatenate
the generated random string.

The new one uses a simple preallocated std::string, as the size of the
output is already known - it is the length parameter.

It also uses std::generate_n() instead of an explicit loop, making the
code more concise and potentially faster, as no calls to
std::string::operator+= are needed.

Calling GenerateRandomString(1'000'000) with the std::stringstream-based
implementation allocated 16 times, for a total of 3'173'516 bytes.
The new one cuts this down to 4 allocs, for a total of 1'076'864 bytes.
2022-08-26 12:53:42 +02:00
ArtemisX64
1f2f21588e Replace std::uniform_int_distribution with boost::random::uniform_int_distribution 2022-08-26 18:34:23 +09:00
ArtemisX64
7cfc4a042d Replace __WIN32 with __clang__ in Account.cpp and Add libpulse-dev in workflow for audio 2022-08-26 18:18:52 +09:00
ArtemisX64
17272e60fa Replace __WIN32 with __clang__ 2022-08-26 18:14:34 +09:00
ArtemisX64
2767373098 Proper fix for static asserts 2022-08-26 17:46:58 +09:00
Alexey Varfolomeev
ebcff2e319
fix unix path on IOSU/PDM (#60)
With PR #52 this path was missed
2022-08-26 06:21:07 +02:00
Marcin Chojnacki
974edaa649
Initial macOS port bringup (#52) 2022-08-26 04:03:26 +02:00
Exzap
a2abffd37b coreinit: Manual endian-swap is not required for MEMPTR 2022-08-25 16:59:54 +02:00
Marco Rubin
1d3f62a09c
Fix ImGui::Text() format strings (#41)
* Fix format string
2022-08-25 12:15:02 +02:00
ArtemisX64
3d6d9341f6
Update precompiled.h 2022-08-25 16:46:34 +09:00
ArtemisX64
8b7738f0ab Replace Vulkan-SDK with Vulkan Headers 2022-08-25 13:31:32 +09:00
Exzap
d60742f52b Add all the files 2022-08-22 22:21:23 +02:00