virtualx-engine/core/os
Hein-Pieter van Braam 4240e3d668 Optimizations for trivial types
Relying on various compiler primitives we can reduce the work done
in our memory allocators and CowData. For types with trivial ctors or
dtors we can skip looping over all elements when creating, resizing,
and destroying lists of objects.

These primitives are supported by clang, msvc, and GCC. However, once
we've moved to C++11 we can rely on several std:: primitives that do
the same thing and are standardized.

In my testing the extra conditionals introduced here get removed from
the generated program entirely as the results for these primitives is
known at compile time.
2019-01-03 08:47:34 +01:00
..
copymem.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
dir_access.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
dir_access.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
file_access.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
file_access.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
input.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
input.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
input_event.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
input_event.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
keyboard.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
keyboard.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
main_loop.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
main_loop.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
memory.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
memory.h Optimizations for trivial types 2019-01-03 08:47:34 +01:00
midi_driver.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
midi_driver.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
mutex.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
mutex.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
os.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
os.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rw_lock.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rw_lock.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build core's thirdparty code in own environment 2018-09-28 11:40:41 +02:00
semaphore.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
semaphore.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
shell.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
shell.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
thread.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
thread.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
thread_dummy.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
thread_dummy.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
thread_safe.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
thread_safe.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
threaded_array_processor.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00