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
diff options
context:
space:
mode:
authorJoseph Eagar <joeedh@gmail.com>2010-01-23 14:25:20 +0300
committerJoseph Eagar <joeedh@gmail.com>2010-01-23 14:25:20 +0300
commit7ef85aa41ff57cbe5395f83d4ea23b651287b78d (patch)
tree60e950948108158c752675fe4f68dbc1663996d4 /source/blender/blenlib/BLI_math_inline.h
parentf66d5a7b77d0f7a1eb2d530cb58509e52554b8e9 (diff)
Initial results of my profiling of the animation system.
Basically two simple changes, changes, I pulled in the faster ghash in bmesh (which uses mempools for allocation, providing a substanstial speedup in some cases, and also I inlined some of the functions), and I changed __inline to __forceinline for inlining of math functions. I also removed the timer in the view3d zoom op (ctrl-middlemouse) that was making it nonfunctional. Why was that there?
Diffstat (limited to 'source/blender/blenlib/BLI_math_inline.h')
-rw-r--r--source/blender/blenlib/BLI_math_inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_inline.h b/source/blender/blenlib/BLI_math_inline.h
index d742af26ac0..f8220681bb7 100644
--- a/source/blender/blenlib/BLI_math_inline.h
+++ b/source/blender/blenlib/BLI_math_inline.h
@@ -37,7 +37,7 @@ extern "C" {
#ifdef BLI_MATH_INLINE
#ifdef _MSC_VER
-#define MINLINE static __inline
+#define MINLINE static __forceinline
#else
#define MINLINE static inline
#endif