Comments (1)
Conclusions:
- Don't wrap the data in Option. Also don't have an initial value. If you query it before the first change, panic.
- Although it's easiest to store every EventHandle, it won't report on them, in the interest of future-proofing the API. (A future implementation might not always have them available.)
- Due to my decisions on #32, it will have an optional "destruction time", and at least debug_assert that you can't query it after the destruction time.
- It's not currently worthwhile to make additional features to work around the lack of query-by-reference.
- Since modify_simple_timeline() is already in the simple_timeline module, rename it to set() and unmodify_simple_timeline() to unset().
- It's not currently worthwhile to make several variants of SimpleTimeline. If we make variants in the future, it might involve renaming the current struct, but that's relatively easy to fix in the examples (it would be a simple find-and-replace, or a type alias, or
use Foo as Bar
).
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.