-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I have trouble remembering the direct syntax for iterators and arrays. So, the macro is especially useful using when nesting inside them. For example, in the bed-reader genomics crate, I was apply to replace dozens of functions like:
I just tried the various code versions in Compiler Explorer. From a quick glance, they all produce the same compiled code. An advantage of creating two generics here instead of one more complex one is that programming the macro is more recursive and simpler. This allows to macro to handle, for example, a test case called "complex" with type AnyIter>>.