Comments (1)
We may need to add some API parallelism-support features for predictors and events.
When an event or predictor gets invalidated while it is still running, it would be nice for it to save time by exiting early.
Moreover, it would probably be more efficient to discard invalidated fields than to preserve them for predictors/events that are in process. The natural way for the accessors to handle this is to have get() return None, which would mean that you can never safely unwrap() the result even if you know that it will always be present in the legitimate simulation. We could provide a "unwrap or return" macro. (try_get!() seems like a good name for it)
from time-steward.
Related Issues (20)
- Standardize using ExtendedTime rather than base time in all API functions HOT 2
- Rethink valid_since() and forget_before() API HOT 3
- For the types that can only be dereferenced using a TimeSteward, is there any 0-cost way we can provide safety against using the WRONG TimeSteward object?
- Use a faster hash algorithm? HOT 1
- Implement Rand for DeterministicRandomId HOT 1
- Support upper time limits for step()
- Put the "rowless" code at the top level, since it's almost as complete as the old code
- Tracking issue for current very-disruptive API changes HOT 1
- Figure out what I really mean by StewardData [duplicate] HOT 1
- Figure out what I really mean by StewardData HOT 3
- Make better manual Debug impls
- Modification protocol HOT 1
- When generic associated types become available… HOT 1
- Single-threaded incremental serialization?
- Implement Div<i64> and variants for Range
- Make Predictions have an independent existence
- Make a robust collection of trajectory types
- Make undo implementations implicit
- Rename Basics HOT 1
- Fast paths for DataTimeline modifications HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from time-steward.