summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/array.h
Commit message (Collapse)AuthorAgeFilesLines
* array: Add DMNSN_NEW_ARRAY macro.Tavian Barnes2014-05-311-1/+8
|
* Get rid of DMNSN_ARRAY_FOREACH_REVERSE.Tavian Barnes2011-11-131-11/+0
|
* Get rid of include guards on sub-headers.Tavian Barnes2011-05-161-5/+0
|
* Use arrays for PR-tree construction instead of lists.Tavian Barnes2011-05-101-1/+54
|
* Don't use awkward (*fptr)() syntax.Tavian Barnes2011-04-031-1/+1
|
* Update email address.Tavian Barnes2011-03-081-1/+1
|
* Whitespace fix in array.h.Tavian Barnes2011-02-191-1/+0
|
* Implement pigment maps.Tavian Barnes2010-11-231-0/+14
|
* Fix signed/unsigned comparison in DMNSN_ARRAY_FOREACH.Tavian Barnes2010-11-181-3/+3
|
* End sentences with periods.Tavian Barnes2010-11-151-5/+5
|
* Document libdimension with Doxygen.Tavian Barnes2010-11-141-21/+96
|
* Optimize DMNSN_ARRAY_FOREACH_REVERSE() a bit.Tavian Barnes2010-11-081-3/+3
|
* Support checkered pigments in dimension.Tavian Barnes2010-11-071-1/+7
|
* Change initial array capacity to 2.Tavian Barnes2010-10-211-11/+11
| | | | | A quick experiment shows that arrays average less than 2 elements, and this helps a bit with the memory-hogginess of the parser.
* Add dmnsn_free() to match dmnsn_malloc().Tavian Barnes2010-09-261-2/+2
|
* Optimize DMNSN_ARRAY_FOREACH() a bit.Tavian Barnes2010-09-191-3/+3
|
* Fix some copyright dates.Tavian Barnes2010-05-101-1/+1
|
* New DMNSN_ARRAY_FOREACH() macro, faster than iterating with dmnsn_array_get().Tavian Barnes2010-05-081-1/+21
|
* Use dmnsn_assert() for array and list range checks.Tavian Barnes2010-04-301-19/+5
|
* Add a generic list type.Tavian Barnes2010-04-301-2/+2
|
* Fix some includes.Tavian Barnes2010-04-271-1/+1
|
* Fix some spurious includes.Tavian Barnes2010-04-271-3/+2
|
* New dmnsn_malloc() function, and friends.Tavian Barnes2010-04-071-22/+10
| | | | | | I'm tired of checking for malloc failures everywhere, considering it never happens. So just bail out whenever it does. A lot of stuff is guaranteed to succeed if it returns now.
* Revert "Use dmnsn_assert for array range checks."Tavian Barnes2010-02-101-3/+14
| | | | | | This reverts commit a4eb36a5df16fadfb0d86167acaaef7bd60daf7c. Having dmnsn_assert() in inline functions may change their definition depending on the value of NDEBUG, which violates C++ inline rules.
* Use dmnsn_assert for array range checks.Tavian Barnes2010-02-101-14/+3
|
* Fix up license blurbs and copyright year.Tavian Barnes2010-01-271-1/+1
|
* Check for empty array in dmnsn_array_pop().Tavian Barnes2010-01-181-0/+5
|
* Add proper range checks to dmnsn_array_insert() and _remove().Tavian Barnes2010-01-181-4/+11
|
* Clean up some dmnsn_new_*() functions.Tavian Barnes2009-10-261-10/+11
| | | | | Rather than special-case every failed memory allocation, just make dmnsn_delete_*() more robust and call it.
* Actully guarantee array allocation in dmnsn_new_array().Tavian Barnes2009-10-051-3/+5
|
* New benchmarking suite.Tavian Barnes2009-10-041-1/+2
|
* Implement removing/inserting in the middle of a dmnsn_array*.Tavian Barnes2009-07-091-0/+28
|
* Update license copyrights to 2009.Tavian Barnes2009-07-081-1/+1
|
* Inline some functions: about a 5% performance boost.Tavian Barnes2009-07-011-11/+96
|
* New inline function framework.Tavian Barnes2009-06-301-2/+8
|
* Remove thread-synchronization from arrays, which was way too slow, andTavian Barnes2009-06-291-15/+1
| | | | only really needed for dmnsn_progress anyway.
* Add some documentation.Tavian Barnes2009-06-261-1/+2
|
* Add lots of comments, and some code fixes discovered in the process.Tavian Barnes2009-06-261-6/+8
|
* New dmnsn_array_size() thread-safe function.Tavian Barnes2009-06-231-1/+3
|
* Add interface for performing long tasks in background, while giving aTavian Barnes2009-06-221-2/+3
| | | | progress indication.
* Make dmnsn_array*'s thread safe.Tavian Barnes2009-06-221-7/+17
|
* Make raytracing engine multi-threaded.Tavian Barnes2009-06-141-2/+3
|
* Add new general array interface.Tavian Barnes2009-05-071-0/+48