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 年之前 |