Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-10 | Docs: minor comment edits to smallhash | Campbell Barton | |
2016-02-10 | Tweaks to the comments of smallhash | Sergey Sharybin | |
Collaboration between russki guy working from Netherlands and ausie bloke working from Australia (not Austria). | |||
2014-12-18 | cleanup: use const for smallhash & minor edits | Campbell Barton | |
2014-12-09 | Smallhash: add support for iterating value pointers | Campbell Barton | |
also add reinsert function | |||
2014-08-23 | Smallhash: BLI_smallhash_calc_quality | Campbell Barton | |
Also add inline hashing function to measure different methods. | |||
2014-07-11 | WM: add WM_operator_properties_create_ptr | Campbell Barton | |
Call operator types directly and avoid a lookup when their known. | |||
2014-05-01 | Add BLI_compiler_compat.h to help with portability | Campbell Barton | |
2014-05-01 | Include removal gave problems with windows, ifdef some back in for windows only | Campbell Barton | |
2014-05-01 | Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in ↵ | Campbell Barton | |
4ca67869cc7a." This reverts commit a47a4ef82f37428d391cc14a30fa611d6714e71d. | |||
2014-05-01 | Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a. | Thomas Dinges | |
2014-04-30 | Code cleanup: remove unused includes | Campbell Barton | |
Opted to keep includes if they are used indirectly (even if removing is possible). | |||
2014-02-02 | Fix: Compile error due to missing #define for MSVC9 (VisualC++ 2008) | Andrea Weikert | |
Added some relevant #defines copied from extern\libmv\third_party\msinttypes to BLI_sys_types.h so they can be used in blenlib. Made smallhash.c use the BLI_sys_types.h include rather than including <stdint.h> directly | |||
2014-02-02 | Add include needed for clang, quiet warning | Campbell Barton | |
2014-02-02 | Smallhash: add reserve option to avoid resizing when size is known | Campbell Barton | |
2014-02-02 | Smallhash: fixes/improvements | Campbell Barton | |
- use magic numbers based on uintptr max, not uint max, to avoid possible collisions with real pointer values on 64bit systems. - comment BLI_smallhash_remove for now, its not used. - added smallhash_val_is_used replacing ELEM() checks - updated docs | |||
2014-02-01 | Smallhash: optimizations | Campbell Barton | |
- remove static array used only for copying (use alloca on resize) - set SMSTACKSIZE to one of the values in 'hashsizes' since the full available size was never used. - ensure ~1.5x as many buckets as entries, was 3x which caused malloc's quite early on. | |||
2014-01-30 | Smallhash: refactor and fixes | Campbell Barton | |
- BLI_smallhash_remove didnt decrement total entries. - rename vars to match closer to ghash. - smallhash_lookup returns NULL when no entry found. - using a zero value key wasn't supported. - no need to memset or calloc bucket arrays - add asserts for unsupported conditions. - added BLI_smallhash_lookup_p | |||
2014-01-28 | Code cleanup: remove references to svn and code style | Campbell Barton | |
2014-01-26 | Cleanup of BLI_smallhash | Bastien Montagne | |
Factorized a bit the code here, think it's more readable now... No performance enhancement though. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D259 | |||
2014-01-21 | Code Cleanup: use bool for return values and correct comments | Campbell Barton | |
also remove CDDM_Check, theres no need for it. | |||
2013-10-11 | code cleanup: use const's for static arrays | Campbell Barton | |
2013-09-12 | code cleanup: headers - doxy comments. | Campbell Barton | |
2013-09-01 | move strict compiler checks into a header so its easier to manage in one ↵ | Campbell Barton | |
place (pragmas were copied around). also enable more strict warnings for BLF (which had some incorrect casts). | |||
2013-08-17 | change CHECK_TYPE_INLINE macro not to add the pointer in the macro. | Campbell Barton | |
2013-06-23 | reduce sign conversion comparisons for smallhash and tweak warnings elsewhere. | Campbell Barton | |
2013-05-08 | use unsigned int's for smallhash, avoids using ABS when converting an | Campbell Barton | |
int from a key. | |||
2013-04-20 | skip checks in statvis_calc_thickness(). also remove paranoid NULL checks in ↵ | Campbell Barton | |
smallhash.c | |||
2012-11-06 | bad use of assignment within ABS() caused SMHASH_NEXT macro to step the ↵ | Campbell Barton | |
offset twice in some cases. | |||
2012-05-12 | style cleanup: whitespace, bli & makesdna | Campbell Barton | |
2012-02-17 | fix [#30220] Knife Tool Leaks memory | Campbell Barton | |
both crash and leak are fixed now. | |||
2012-02-12 | bmesh minor refactor | Campbell Barton | |
* add DM_to_bmesh_ex, DM_to_bmesh for converting a derived mesh to a BMesh (rather than a BMEditMesh) * have a generic variable for allocsize: bm_mesh_allocsize_default, rather than copying the values about. | |||
2012-02-11 | GPL Header Cleanup | Campbell Barton | |
2011-09-09 | move smallhash into its own C file, was inlineing fairly large functions. | Campbell Barton | |