|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53853 - sandbox/monotonic/boost/monotonic
From: christian.schladetsch_at_[hidden]
Date: 2009-06-13 01:34:00
Author: cschladetsch
Date: 2009-06-13 01:33:59 EDT (Sat, 13 Jun 2009)
New Revision: 53853
URL: http://svn.boost.org/trac/boost/changeset/53853
Log:
added hack for faster alignment
Text files modified:
sandbox/monotonic/boost/monotonic/inline_storage.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/monotonic/boost/monotonic/inline_storage.h
==============================================================================
--- sandbox/monotonic/boost/monotonic/inline_storage.h (original)
+++ sandbox/monotonic/boost/monotonic/inline_storage.h 2009-06-13 01:33:59 EDT (Sat, 13 Jun 2009)
@@ -48,7 +48,7 @@
{
// ensure we return a point on an aligned boundary
//size_t extra = num_bytes % Alignment;
- size_t extra = 0;//num_bytes & 15;
+ size_t extra = num_bytes & 15;
size_t required = num_bytes + extra;
char *ptr = &buffer[cursor];
cursor += required;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk