cutealien
|
221c8913b0
Partly revert previous commit. Works only for linear search functions, binary_search changes were wrong.
|
2 роки тому |
cutealien
|
089ef83d40
core::array search functions can now work with other template types.
|
2 роки тому |
cutealien
|
b834fba765
Fix comment.
|
2 роки тому |
cutealien
|
81f501855c
Avoid some warnings from static code analysis.
|
2 роки тому |
cutealien
|
e75d2904b1
Replace public header guards to avoid using indentifiers reserved by c++
|
3 роки тому |
cutealien
|
f73f9501f0
API BREAKER: Replacing defines in irrTypes.h which are conflicting with c++ reserved identifier rules.
|
3 роки тому |
cutealien
|
0b8efea3c6
Add equals and set_data functions to core::array for easier working with blocks of data.
|
3 роки тому |
cutealien
|
32585c5ed0
Cleanup: Make some variables const.
|
5 роки тому |
cutealien
|
b44b6891a6
Add typedefs like value_type and size_type to array, list and map like std containers have.
|
6 роки тому |
cutealien
|
5bfba69e9d
Simplify ALLOC_STRATEGY_DOUBLE in arrays somewhat.
|
7 роки тому |
cutealien
|
49b59e39b1
Documentation changes (mainly to document allocation strategies)
|
7 роки тому |
cutealien
|
bff50c751d
Spelling fixes.
|
8 роки тому |
nadro
|
b23954ebef
- Fixed issue with simplified IVideoDriver::setRenderTarget method.
|
9 роки тому |
hybrid
|
9f7227b7ad
Some whitespace adjustment.
|
11 роки тому |
hybrid
|
0a2330890a
Bump copyright to 2012
|
12 роки тому |
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.
|
12 роки тому |
hybrid
|
8106d4200f
Add a shortcut return in case reallocate has nothing to do. Should reduce a lot of memory thrashing on irrArrays.
|
12 роки тому |
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.
|
13 роки тому |
hybrid
|
5e4d495dcc
Bump copyright dates to 2011.
|
14 роки тому |
hybrid
|
0be2fc2628
Make checks in erase not only happen in debug mode.
|
15 роки тому |
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 роки тому |
cutealien
|
a0b9cea740
Fix recently introduced bug that caused irrlicht to sort the array on each search (instead of just when unsorted).
|
15 роки тому |
cutealien
|
6eb1fa1e6e
Add swap functions to irrMath and to the core classes.
|
15 роки тому |
cutealien
|
f2e91f0e7c
Fix self assignments for irrArray (which worked already in 1.6, not sure if it was fixed there
|
15 роки тому |
cutealien
|
09b4f29944
Bugfix: irrArray should no longer crash when using other allocators. Corresponding test added. This was
|
15 роки тому |
cutealien
|
9e1eb1e6ca
Revert r2939 (allocation strategy scheme for arrays). Which means old (slow?) speed for now. Reason is that
|
15 роки тому |
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 роки тому |
hybrid
|
1aa521654a
Fix irrArray interpretation of free_when_destroyed. Some more cases need to be handled differently. Changes.txt updated.
|
15 роки тому |
hybrid
|
e2b8f785ca
Fix illegal memory access on push_front, and merge push methods into one base function.
|
15 роки тому |
hybrid
|
21a52f9317
Slightly reorder the members.
|
15 роки тому |