You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
18db0f1107
00336
02751
Kernel
Update-some-barriers-test
astc_optimization1
astc_optimizations
atomicops-mxwell
bcn-ternary-soft
camillelavey-patch-1
chore/chore
civa
cyber/async-gpu-android
descriptor
descriptor_pool_opt
descriptor_set
discfix
dmnt2
dravee/qt-fix
dravee/remove-async
dynarmic-ppc64
eden-orbis-ps4
eds-true-adreno-fixes
eds-true-adreno-fixes-pre-0.1.0
feat/android_kotlin_compose
feat/game_override
ffmpeg-cross-compile
fix/discord-rpc
fix/socket
flatopsfixes23485
frame_pacing
fs-try
gentoo-gdb
gpuopts
interval-zero
lanobu
liz-crash-dumps-solaris
liz-dynarmic-macos-fbsd-port
liz-get-rid-of-mcl-intrusive-list
liz-heaptrack-fix
liz-no-rtti-allowance
lizzie/adreno5-mali-driver-fix
lizzie/astc-mp4-improv
lizzie/audio-remove-recursive-lock
lizzie/correcter-convert-abgr8-srgb-d24s8
lizzie/dynarmic-isb
lizzie/dynarmic-remove-interpreter
lizzie/dynarmic-sse3-impls
lizzie/dynarmic-xbyak-use-ankerl
lizzie/dynrregabiset
lizzie/evil-f32-u32-format-fix
lizzie/fix-dragonslayer-armnce
lizzie/fix-idiv-crash
lizzie/fix-my-fuckup-with-vic
lizzie/fix-rw-garten
lizzie/fix-vic-msvc-attempt-2
lizzie/gmake-fix
lizzie/gutter-sw-blitter
lizzie/inline-dynarmic-spooky
lizzie/ltofix123
lizzie/macos-fix
lizzie/macos-vk-metal-fix-stype
lizzie/maxwell-dumb-tools
lizzie/nce-port1123
lizzie/qt-fix-user-dialogue
lizzie/rasterizer-recursive-mutex-not
lizzie/remove-disassembler-dynarmic
lizzie/revert-evil-mali
lizzie/rework-block-list
lizzie/sgsr
lizzie/stupid-socket-bullshit
lizzie/texture-pass-revert-1
lizzie/try-fix-win11-crash-fuck
lizzie/vids-ratatata
lock-term-1
macroify-surface-stuffs
master
memsetopsyscallavoid
mmap-fixews
msvc
mutliplayer-filter-better1
n64
nce_cpp
pipelinederivative
qcomopts2
qt-6.9
querybugfix
refactoreds2
release-early-fences
release/0.0.3
release/0.0.4
release/0.1.0
renderer_vulkan
revert-2695
revert-noinline
revertrevert
sgsrtry
showcase
showcase2
sjkdbsdfjkbsdf-2834
spvopts
sured-revert
techno48473719
test-revert-gpu-optim
test2
true-eds
true-eds-graphics
true-eds-pre-0.0.1
uma
vk-fix-oom-force-maller-buffers
vk-surface-andpc
vk-symph
vkexperiments1
vulkan-thingy
vulkanasync
woa-turnip-expr
workgroup
xbzk-saf-recursive-write-with-permission-request
xbzk/bindless-textures-support
xbzk/debug-knobs-pergame-fix
xbzk/dma-step-ondemand-flush
xbzk/flicker-fix
xbzk/msvc-ninja-annoying-if-constexpr-warning-fix
0.0.0
0.0.1-pre-alpha
0.0.2-pre-alpha
test-tag1
test-tag2
v0.0.3
v0.0.3-rc1
v0.0.3-rc2
v0.0.3-rc3
v0.0.3.git
v0.0.4
v0.0.4-rc1
v0.0.4-rc2
v0.0.4-rc2.test
v0.0.4-rc2.test2
v0.0.4-rc3
v0.0.4-rc3.test1
v0.0.4-rc3.test2
v0.0.4.test
v0.1.0
v0.1.0-rc1
v0.1.1
v0.2.0-rc1
${ noResults }
We can just reserve the memory then perform successive insertions instead of needing to use memcpy. This also avoids the need to zero out the output vector's memory before performing the insertions. We can also std::move the output std::vector into the destination so that we don't need to make a completely new copy of the vector, getting rid of an unnecessary allocation. Additionally, we can use iterators to determine the beginning and end ranges of the std::vector instances that comprise the output vector, as the end of one range just becomes the beginning for the next successive range, and since std::vector's iterator constructor copies data within the range [begin, end), this is more straightforward and gets rid of the need to have an offset variable that keeps getting incremented to determine where to do the next std::memcpy. |
7 years ago | |
|---|---|---|
| .. | ||
| inih@603729dec8 | Added configuration file system. | 12 years ago |
| CMakeLists.txt | CMakeLists: Derive the source directory grouping from targets themselves | 8 years ago |