guzba
guzba
As a quick update, I have tried the same test on my M1 Mac and found interesting results. First, the difference between `--threads:on` and `--threads:off` is much smaller when using...
I have done a little more experimenting and found significant evidence that something related to thread locals is the cause here. To check this, I: * Cloned the Nim repo...
Looked at the `--asm` output and found `mov rcx, QWORD PTR .refptr.__emutls_v.nimInErrorMode__system_u3501[rip]` etc. `__emutls` appears to be GCC TLS emulation. I am not sure if this is expected to be...
Did some more investigating. It appears mingw uses emulated TLS on Windows: http://mails.dpdk.org/archives/dev/2020-February/157446.html ``` The second aspect is performance. Per [2], Win32 API TLS functions are ~10% slower than non-emulated...
@RSDuck Thanks for the suggestion and link to that previous issue, I had not seen it. It does appear this is more of a consequence of using mingw/gcc on Windows...
Thanks for linking to this file, it is useful to see. I think me continuing to make more examples will go a long way to help in these cases. I...
I have added a couple examples, one showing redirecting, the other showing an approach to custom handler types with additional parameters https://github.com/guzba/mummy/pull/78
I redid url parsing in webby and have decided to go further with mummy/routers features in this work-in-progress PR: https://github.com/guzba/mummy/pull/111 Relevant to this issue since it would make query parameters...
> Will there be any work to be able to extract a list of query parameters out? I see that the underlying implementation is just seq[(string, string)], so do I...
Revisiting the initial 4 topics that were discussed as of today: 1. Redirects -> nothing to report here 2. Cookies -> still need to be added to webby 3. URL...