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