Just released Timeline 0.3.0 to clojars:

https://clojars.org/net.mikera/timeline

Some new (still experimental) features:

 - timelines are now "Counted" for you can do (count timeline) in the 
normal way
 - timelines can be sliced with arbitrary start and end times (exploiting 
the efficiency of RRB-vectors)
 - support for logging of changes only (so you don't store duplicate events)
 - ISO8601 date parsing
 - "resample" function for taking regular samples at intervals along a 
timeline

Comments / ideas / patches welcome as always.

GitHub repo:
https://github.com/mikera/timeline

On Tuesday, 15 October 2013 13:15:29 UTC+1, Mikera wrote:
>
> Hi All,
>
> I just created a new, small, experimental library because I needed to 
> represent a "timeline" of values as an immutable object.
>
> Target use cases:
> - Efficient logging of timestamped events
> - Storage of sensor data event streams (Internet of Things etc.)
>
> It's far from finished but I thought it would be worth sharing early in 
> case others find it useful, have feature requests, or have ideas to 
> contribute.
>
> Key features / design points:
> - Each value (event) on the timeline has a timestamp 
> - Given a timeline, it is possible to quickly query the value at any point 
> in time.
> - Integrates with Joda time / clj-time
> - Uses RRB trees (thanks Michal for clojure/core.rrb-vector) so that 
> timelines can be efficiently cut and spliced together
> - Backed by a protocol, allowing for alternative implementations (not sure 
> if this is useful..... but maybe....)
>
> Repository is here:
>
> https://github.com/mikera/timeline
>
> Have fun!
>
>   Mike.
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to