https://github.com/githubnext/monaspace/blob/main/docs/Textu...
40 karma · joined August 11, 2023
https://github.com/githubnext/monaspace/blob/main/docs/Textu...
It has better avalanching compared to indexing by `(i * prime) % n`, but at the tradeoff of `n` being restricted to powers of 2.
The blog post uses "random" in quotations as well in its title.
I call it O(1) because the ordering is fully determined just by choosing an arbitrary prime number. It's constant time to "reorder" the elements and also constant time to get the i'th element in the permutation. This is in contrast to something like the the Fisher-Yates shuffle which permutes the elements in O(n) time.
https://lemire.me/blog/2017/09/18/visiting-all-values-in-an-...
Example here: https://forums.swift.org/t/noncopyable-generics-in-swift-a-c...
An added plus is that the Swift compiler seems to stack-promote a lot more often, compared to class/ManagedBuffer implementations.
Unfortunately, there isn't much regulation for supplements in general. Some companies do 3rd party purity testing, though it's not always the case.
I made the initial suggestion to look into Robin Hood hashing when it was first posted on Reddit.
Glad to see it make its way into the repo!
With Stable Diffusion, you're able to use LoRAs to introduce specific characters, objects, concepts, etc. while maintaining the same visual qualities of the base model.
Why can't something similar be done with an LLM?
Android 1.0
Android 1.1
Android Cupcake
Android Donut
Android Eclair
Android Froyo
Android Gingerbread
Android Honeycomb
Android Ice Cream Sandwich
Android Jelly Bean
Android KitKat
Android Lollipop
Android Marshmallow
Android Nougat
Android Oreo
Android Pie
Android 10
Android 11
Android 12
Android 12L
Android 13
Android 14
Android 15It's doc description seems to be closer to what you need than the `id()` modifier.
<https://developer.apple.com/documentation/swiftui/view/equat...>
> Prevents the view from updating its child view when its new value is the same as its old value.
Also, https://swiftwithmajid.com/2020/01/22/optimizing-views-in-sw...