fast
fast copied to clipboard
A library for D that aims to provide the fastest possible implementation of some every day routines.
I was compiling from LDC and found a couple bugs! Mostly type based
Current implementation has inaccurate number parsing. [How to Read Floating Point Numbers Accurately by William D. Clinger](https://www.researchgate.net/publication/2295884_How_to_Read_Floating_Point_Numbers_Accurately) - a classic paper on number parsing. [mir.bignum.decimal](http://mir-algorithm.libmir.org/mir_bignum_decimal.html) can be used for parsing...
I noticed you use mmap in fast.json. It is a nice trick, but also doesn't need to be. 1) Refactor it so this mmap file implementation is in separate module,...
On Windows 10: ``` Performing "debug" build using C:\project\dmd2\windows\bin64\dmd.exe for x86_64. fast 0.3.5: building configuration ""... \fast-0.3.5\fast\source\fast\cstring.d(198,59): Error: function fast.cstring.string2wstringSize(const(char[]) src) is not callable using argument types (const(ushort[])) \fast-0.3.5\fast\source\fast\cstring.d(198,59): cannot...
``` import std.stdio; import fast.json; void main() { auto json = parseTrustedJSON(`{"x":123}`); writeln(json.x); // shall I get 123 here? } ``` core.exception.AssertError@/home/xxx/.dub/packages/fast-0.3.5/fast/source/fast/json.d(1208): Assertion failure
Hi Marco. Small enhancement request. (Apologies if it's implemented already and I didn't see). Quite often one wants to parse a JSON stream (like from Twitter or the Reddit comment...
GDC feeds all overflow intrinsics to the __builtin_xxx functions. https://github.com/D-Programming-GDC/GDC/blob/16a15523c01e996660a0ad8b8043dd97d36535ee/gcc/d/d-codegen.cc#L3455-L3463
Marco, big thanks for your Json parser, but could you add move examples in readme of how it's can be used?
Hello, I'm currently upgrading the spasm framework to be able to develop web applications in webassembly much like you do with React or Angular. I modified your library to be...
I'm unable to get this to run successfully on Apple Silicon because of an illegal hardware instruction error, which comes from the use of `vpcmpistri`, an AVX instruction not supported...