cutealien
|
221c8913b0
Partly revert previous commit. Works only for linear search functions, binary_search changes were wrong.
|
3 gadi atpakaļ |
cutealien
|
089ef83d40
core::array search functions can now work with other template types.
|
3 gadi atpakaļ |
cutealien
|
b834fba765
Fix comment.
|
3 gadi atpakaļ |
cutealien
|
81f501855c
Avoid some warnings from static code analysis.
|
3 gadi atpakaļ |
cutealien
|
e75d2904b1
Replace public header guards to avoid using indentifiers reserved by c++
|
3 gadi atpakaļ |
cutealien
|
f73f9501f0
API BREAKER: Replacing defines in irrTypes.h which are conflicting with c++ reserved identifier rules.
|
3 gadi atpakaļ |
cutealien
|
0b8efea3c6
Add equals and set_data functions to core::array for easier working with blocks of data.
|
3 gadi atpakaļ |
cutealien
|
32585c5ed0
Cleanup: Make some variables const.
|
5 gadi atpakaļ |
cutealien
|
b44b6891a6
Add typedefs like value_type and size_type to array, list and map like std containers have.
|
6 gadi atpakaļ |
cutealien
|
5bfba69e9d
Simplify ALLOC_STRATEGY_DOUBLE in arrays somewhat.
|
8 gadi atpakaļ |
cutealien
|
49b59e39b1
Documentation changes (mainly to document allocation strategies)
|
8 gadi atpakaļ |
cutealien
|
bff50c751d
Spelling fixes.
|
9 gadi atpakaļ |
nadro
|
b23954ebef
- Fixed issue with simplified IVideoDriver::setRenderTarget method.
|
10 gadi atpakaļ |
hybrid
|
9f7227b7ad
Some whitespace adjustment.
|
12 gadi atpakaļ |
hybrid
|
0a2330890a
Bump copyright to 2012
|
12 gadi atpakaļ |
hybrid
|
aac4394cc5
Add new parameter to array reallocate function. This prevents a reallocation in case the array would become smaller. As the reallocation operation is quite time consuming, this can be avoided on request now, on the expense of more memory consumption.
|
13 gadi atpakaļ |
hybrid
|
8106d4200f
Add a shortcut return in case reallocate has nothing to do. Should reduce a lot of memory thrashing on irrArrays.
|
13 gadi atpakaļ |
hybrid
|
7b5fa07671
Merged revisions 3729-3829 from 1.7 branch. Fixed serialization of camera nodes, fix array::erase, fix mem leaks in example 22, fix interpolation in SColorf, fix crash in collada loader.
|
14 gadi atpakaļ |
hybrid
|
5e4d495dcc
Bump copyright dates to 2011.
|
14 gadi atpakaļ |
hybrid
|
0be2fc2628
Make checks in erase not only happen in debug mode.
|
15 gadi atpakaļ |
cutealien
|
fdfc470b38
Improving array::insert speed by kicking out lots of memory construction calls, but hopefull still leaving all the important ones in places. Does double the speed but is still twice as slow as std::insert unfortunately.
|
15 gadi atpakaļ |
cutealien
|
a0b9cea740
Fix recently introduced bug that caused irrlicht to sort the array on each search (instead of just when unsorted).
|
15 gadi atpakaļ |
cutealien
|
6eb1fa1e6e
Add swap functions to irrMath and to the core classes.
|
15 gadi atpakaļ |
cutealien
|
f2e91f0e7c
Fix self assignments for irrArray (which worked already in 1.6, not sure if it was fixed there
|
15 gadi atpakaļ |
cutealien
|
09b4f29944
Bugfix: irrArray should no longer crash when using other allocators. Corresponding test added. This was
|
15 gadi atpakaļ |
cutealien
|
9e1eb1e6ca
Revert r2939 (allocation strategy scheme for arrays). Which means old (slow?) speed for now. Reason is that
|
15 gadi atpakaļ |
monstrobishi
|
1ea180d6be
- Noticed a major slowdown with the fairly-recently implemented allocation strategy scheme for irrArray (About 5 times slowdown) mainly due to the switch statement in the time critical section. So I re-implemented it as a static template-based system and now the speed is a lot more acceptable.
|
15 gadi atpakaļ |
hybrid
|
1aa521654a
Fix irrArray interpretation of free_when_destroyed. Some more cases need to be handled differently. Changes.txt updated.
|
15 gadi atpakaļ |
hybrid
|
e2b8f785ca
Fix illegal memory access on push_front, and merge push methods into one base function.
|
15 gadi atpakaļ |
hybrid
|
21a52f9317
Slightly reorder the members.
|
15 gadi atpakaļ |