this is screaming for a .NET reimplantation with System.Runtime.Intrinsicshttps://twitter.com/GabrielG439/status/1012376749894582272 …
-
এই থ্রেডটি দেখান
-
thanks autocorrect
১ reply ০ টি পুনঃটুইট ৪টি পছন্দএই থ্রেডটি দেখান -
ch-check it out: Direct = invoking Func Lookup = build lookup table Monoidal = use shuffle MonoidalILP = use tree of shufflespic.twitter.com/BzXai2g3bX
২ replies ০ টি পুনঃটুইট ২টি পছন্দএই থ্রেডটি দেখান -
it looks like at the moment the .NET JITter can't elide bounds checks on ReadOnlySpan, so if we take the guard rails off manually, it gets faster unfortunately Vector128<T> counts as a "managed type", so I can't manually remove the bounds checks on the transitions array...pic.twitter.com/oeC4pObJlr
১ reply ০ টি পুনঃটুইট ১টি পছন্দএই থ্রেডটি দেখান -
... but if I just use a big ol' byte array I can load Vector128s from it, and remove the bounds checks in both places:pic.twitter.com/LaFlhsVmog
১ reply ০ টি পুনঃটুইট ৪টি পছন্দএই থ্রেডটি দেখান -
this timing is near-identical to
@GabrielG439's, which is nice১ reply ০ টি পুনঃটুইট ৩টি পছন্দএই থ্রেডটি দেখান -
tried to add prefetching and it got... slower
১ reply ০ টি পুনঃটুইট ০টি পছন্দএই থ্রেডটি দেখান -
a bit more tweaking to get the JITter to generate nicer assembly, approaching .5nspic.twitter.com/xKcgQzKQrL
১ reply ০ টি পুনঃটুইট ০টি পছন্দএই থ্রেডটি দেখান
the code is here (cc @reubenbond), excuse the messhttps://github.com/Porges/Fastre/blob/master/Fastre/Matchers/VectoredMatcher.cs#L45 …
লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।




· code & languages ·
· the trivial & obtuse · l10n ·
· security · 








