Commit Graph

24 Commits

Author SHA1 Message Date
rdb eefb51f510 dtoolutil: Add small_vector implementation and use it
This vector implementation does is optimized for the case of having only a small number of elements, which are stored directly on the vector object rather than being allocated from the heap.  If the capacity exceeds this small number, then a heap allocation is done.

This should improve performance in a couple of cases where vectors typically store 1 element and rarely more than that.
2023-02-22 16:48:11 +01:00
rdb 28615c6a9e interval: Support awaiting CInterval from coroutines
This is a partial implementation of #909 - it is somewhat inefficient (not suspending the task using a future) and does not implement cancellation.  A more complete implementation may follow in 1.11.0.
2021-02-07 12:40:58 +01:00
Sam Edwards 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards f231ba4cd7 directbase: Introduce BUILDING_ defines for each component
Ditto everything before, but for direct.
2018-03-25 13:17:52 -06:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb dafe48a6bc Begin to add snake_case/property interfaces to important direct classes 2015-12-26 17:00:51 +01:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 39adcebb3d add setPlayRate() 2007-08-29 21:38:44 +00:00
David Rose c9b1445b7c itemize intervals in pstats 2007-03-28 22:35:03 +00:00
David Rose 4ad4e2952e add clearToInitial 2005-03-02 17:00:35 +00:00
David Rose b5cf90cf1e fix link error on opt4 2004-09-22 18:40:16 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose 4066f9ee8d add debugging output 2003-11-17 00:59:59 +00:00
David Rose 27a8da21ec fix resume_until some more 2003-11-11 06:51:15 +00:00
David Rose 80862fe41a add resume_until 2003-11-11 01:04:30 +00:00
David Rose a71af97bf4 generalize interruptible to autoPause and autoFinish 2003-02-26 22:26:43 +00:00
David Rose 11d3460047 better assertion checking 2002-09-23 18:27:05 +00:00
David Rose cab9905657 update gui slider for ivalMgr intervals 2002-09-11 16:44:17 +00:00
David Rose 24f194bd45 define ivalMgr 2002-09-11 15:59:22 +00:00
David Rose fb3ca83e5f add done event 2002-09-10 18:41:22 +00:00
David Rose 8a168bfa2e polish interval interface 2002-09-07 19:38:15 +00:00
David Rose c1b2fc4652 define start()/finish(), put more assertion checks in for state 2002-09-04 22:04:36 +00:00
David Rose 74d183f54b stop() replaces setFinalT() 2002-09-04 18:52:47 +00:00
David Rose 8143fa084c new C++-based intervals 2002-08-29 16:45:26 +00:00