-
You do
```Java
File f = new File(filename);
ArrayList arr = new ArrayList();
HashMap listOfWords = new HashMap();
Scanner in = new Scanner(f);
int i = 0;
while(in.hasNext()) {
String s = in…
oli-h updated
2 years ago
-
The way to non-intrusively say that a type doesn't satisfy the C++17 iterator requirements is to specialize `std::iterator_traits` and not provide the nested typedefs. However, if a user were to do th…
-
Consider example in specification:
~~~
a rml:LogicalSource;
rml:source [ a rml:Source, sd:Service;
sd:endpoint ;
sd:supportedLanguage sd:SPARQL11Query;
];
rml:it…
-
I see two concerns with `.Memoize()`, that I would like to discuss before addressing:
* ~~Currently, the `_error` field is use for both `.GetEnumerator()` errors and iteration errors. This is incor…
-
Motivation: The current behavior of ParquetFilterReader#readNextRowGroup is to eagerly enumerate all chunks in the row group, then read all pages in the chunk. For distributed data workloads, this can…
-
Hello fellow @hoaproject/hoackers and users!
This RFC aims at enhancing the `Hoa\Iterator` API.
# Introduction
PHP has a lot of iterators, but the API for a daily usage is quite limited from …
Hywan updated
7 years ago
-
We often have sections that link to blog posts, papers and other complementary learning material. It'd be nice to make it possible to declare a list of links for a section, for example:
``` scala
obj…
ghost updated
4 years ago
-
First of all, awesome work guys, very useful and helpful.
Just a comment about semantics if I may.
Your generic "[Visitor](https://refactoring.guru/design-patterns/visitor)" is more like an "[It…
-
I'm trying to understand how to use term-rewriting macros for performance optimization purposes. One interesting thing is hoisting for regular expressions.
Simple example:
``` nim
import memfiles, r…
-
Delta-encoding seems to be a common PBF-encoding pattern, where a repeated field is encoded as delta from the previous value rather than absolute values. Each user of the lib has to implement the sam…