1
0
forked from 0ad/0ad
0ad/source/lib/allocators
janwas 4663ac0fe7 split debug_assert into ENSURE and ASSERT as discussed in a previous meeting.
the old debug_assert always ran and tested the expression, which slows
down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new
ASSERT behaves like assert and ENSURE like the old debug_assert. Let's
change any time-critical but not-super-important ENSURE to ASSERT to
speed up release builds. (already done in bits.h and unique_range.h)

This was SVN commit r9362.
2011-04-30 13:01:45 +00:00
..
tests cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
allocator_checker.h split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
bucket.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
bucket.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
dynarray.cpp cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
dynarray.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
freelist.cpp cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
freelist.h split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
headerless.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
headerless.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
overrun_protector.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
page_aligned.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
page_aligned.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
pool.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
pool.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
shared_ptr.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
shared_ptr.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
unique_range.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
unique_range.h split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00