Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-10Docs: minor comment edits to smallhashCampbell Barton
2016-02-10Tweaks to the comments of smallhashSergey Sharybin
Collaboration between russki guy working from Netherlands and ausie bloke working from Australia (not Austria).
2014-12-18cleanup: use const for smallhash & minor editsCampbell Barton
2014-12-09Smallhash: add support for iterating value pointersCampbell Barton
also add reinsert function
2014-08-23Smallhash: BLI_smallhash_calc_qualityCampbell Barton
Also add inline hashing function to measure different methods.
2014-07-11WM: add WM_operator_properties_create_ptrCampbell Barton
Call operator types directly and avoid a lookup when their known.
2014-05-01Add BLI_compiler_compat.h to help with portabilityCampbell Barton
2014-05-01Include removal gave problems with windows, ifdef some back in for windows onlyCampbell Barton
2014-05-01Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in ↵Campbell Barton
4ca67869cc7a." This reverts commit a47a4ef82f37428d391cc14a30fa611d6714e71d.
2014-05-01Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a.Thomas Dinges
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-02-02Fix: 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-02Add include needed for clang, quiet warningCampbell Barton
2014-02-02Smallhash: add reserve option to avoid resizing when size is knownCampbell Barton
2014-02-02Smallhash: fixes/improvementsCampbell 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-01Smallhash: optimizationsCampbell 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-30Smallhash: refactor and fixesCampbell 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-28Code cleanup: remove references to svn and code styleCampbell Barton
2014-01-26Cleanup of BLI_smallhashBastien 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-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-09-12code cleanup: headers - doxy comments.Campbell Barton
2013-09-01move 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-17change CHECK_TYPE_INLINE macro not to add the pointer in the macro.Campbell Barton
2013-06-23reduce sign conversion comparisons for smallhash and tweak warnings elsewhere.Campbell Barton
2013-05-08use unsigned int's for smallhash, avoids using ABS when converting anCampbell Barton
int from a key.
2013-04-20skip checks in statvis_calc_thickness(). also remove paranoid NULL checks in ↵Campbell Barton
smallhash.c
2012-11-06bad use of assignment within ABS() caused SMHASH_NEXT macro to step the ↵Campbell Barton
offset twice in some cases.
2012-05-12style cleanup: whitespace, bli & makesdnaCampbell Barton
2012-02-17fix [#30220] Knife Tool Leaks memoryCampbell Barton
both crash and leak are fixed now.
2012-02-12bmesh minor refactorCampbell 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-11GPL Header CleanupCampbell Barton
2011-09-09move smallhash into its own C file, was inlineing fairly large functions.Campbell Barton