[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cti] Patterning Feedback -Timescales/Periodicity
Eric Burger wrote this message on Wed, Oct 26, 2016 at 12:47 -0400: > Upon reflection, I have convinced myself the only unit should be seconds, with no specified precision. > > Yes, the examples given are nice and SQL-like and human readable. > > I would offer that examples with those nice, human readable decadal time units are thoroughly unrelated and of near zero value towards a MVP. Why? Because that nice, human readable format, either as specifying patterns or for displaying what was detect, is a role of the user interface software. It is not a role of the data format. Don't bring human readable into this, as the TC decided to use JSON, which was particullarly choosen to be human readable, even though other serialization formats would have been better (more machine readable, more compact, etc). If people care about performance of pattern matching, they will parse it to an AST at import time, and only keep the AST (or other optimized representation of the pattern, maybe finite state machine, etc), and not reparse the pattern each import. -- John-Mark
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]