c-blake

Results 74 comments of c-blake

Ok. Thanks for the quick reply. Maybe some more related issues cross-linked might help other bug searchers, although now that I know exactly what to look for there seem like...

As mentioned by the EDIT in top post, the above works with either `import` order (`-d:fail` or not) if you qualify the `sum` symbol, i.e.: `asum.sum(float, ..` and `bsum.sum(x)`. This...

Just since the linked issue suggests this workaround, in this case changing to ```Nim template sum*(F: typedesc[SomeNumber], i, itr, expr): untyped = ``` does not fix the problem / alter...

> rationals and complex might benefit from having their own repos for faster development, but they might be used so commonly that we should keep them in. To follow-up on...

"Often ignored" != "always ignored" and it seems needlessly harsh to punish whatever subset of users does pay attention to warnings with an abrupt change when Nim has nice mechanisms...

While a fine start and certainly better than nothing, this looks like simple `grep` output. E.g., some results show imports within Nim strings that are really Python code. You might...

Rather than change `mgetOrPut`, if you want a `template`, why not just add a new symbol? I called it `editOrInit` [in adix/lptabz](https://github.com/c-blake/adix/blob/master/adix/lptabz.nim). { I think it's a good use case...

Re: 1) Can it really be drop-in compatible / free optimization as a `template` since the new variant will have a block of code where the old variant had an...

Great commentary here, all around. Personally, I think the random stuff is mostly a documentation issue and renaming mostly needlessly disrupts. (EDIT: I just edited the title to scare quote...

You probably want to at least look at the POSIX getline/getdelim API. The reason is so that the control flow for the hot path can be "read buffer, memchr(..delim), maybe...