Commit Graph

11 Commits (4d37f40b30fcaa2fc68220161de4295743ca5b83)

Author SHA1 Message Date
edef b8211689fa return a Result from StackSource::get_stack with an associated Error
fix #7
2015-04-16 04:14:18 -04:00
edef 42db0ee5b1 loosen the lifetime bounds on Context
fix #6
ref #3
2015-04-16 04:01:02 -04:00
edef c19fc4625a use a statically-allocated stack for Context::new benchmarking
Now it's an actual context creation benchmark, instead of benchmarking
our stack creation, which is swappable anyway.
2015-04-15 22:11:36 -04:00
edef 54b34383e3 parametrise Context on Stack 2015-04-15 21:51:37 -04:00
edef 8dc53c3125 make Context::new take a stack, instead of creating one 2015-04-15 19:35:27 -04:00
edef f7511dc2c1 add a context creation benchmark 2015-04-15 19:35:27 -04:00
edef 8515bf0fa1 closure syntax changed 2015-02-23 23:14:58 -05:00
edef a54e573073 Rust updates 2015-02-02 14:17:23 -05:00
edef 299a0a5d98 complete rewrite!
featuring 7ns inlineable context switches, no more separately-built
assembly objects, and a vastly nicer interface.
incontext/outcontext are no more, context switch calls now take a single
context structure, which functions as both.
everything now also functions without any heap allocations -- for the
context setup, only an FnOnce() value is necessary.
2015-01-14 11:27:43 +01:00
edef 5cf3a35d65 move the benchmarks around a little 2015-01-14 07:01:43 +01:00
edef e9d6146b5b initial commit 2014-12-23 04:27:28 +01:00