Daniel Lemire

Results 1864 comments of Daniel Lemire

@knapply rbind?

I was half kidding.

```C++ std::vector out; for (double element : array) { out.push_back( element); }

The above code is standard C++, although there is room for optimizations.... https://lemire.me/blog/2012/06/20/do-not-waste-time-with-stl-vectors/

For performance, you almost always want to overallocate if only temporarily.

@NicolasJiaxin Is working on an On Demand prototype at https://github.com/lemire/rcppsimdjson/pull/1 The purpose is to prove that it can be done. By the end of the summer, we should have simdjson...

@knapply Indeed. There might be other obstacles, but @NicolasJiaxin should stumble on them. If he manages to create the prototype, then we know it is probably all good.

> Does On Demand parser assume that a structure of the JSON to be parsed is known in advance? It does not. However, if you do know the schema, then...