![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/h1ChnLuBHr.png)
I mean, windows is so…
I mean, windows is so…
Whats that do?
so to briefly answer the question in the title after reading the article : i dunno maybe prepared statements
Windows is as much to blame as any affected languages tbh.
For what its worth , the cache locality of Vec<Box<Dyn trait>> is terrible in general, i feel like if youre iterating over a large array of things and applying a polymorphic function you’re making a mistake.
Cache locality isnt a problem when youre only accessing something once though.
So imo polymorphism has its place for non iterative-compute type work, ie web server handler functions and event driven systems.
so if (somehow) the accumulator was an integer, this loop would autovectorize and the performance differences would be smaller ?
Control Flames
You choose nonmagical flame that you can see within range and that fits within a 5-foot cube. You affect it in one of the following ways:
You instantaneously extinguish the flames within the cube
I turn off the sun
Yeah mega transfers. 1 transfer is 8 bytes. the DD in DDRX is double data so it can send 2 transfers per channel per clock. CPUs pretty much always use 2 channels, so the formula is just GBps = 32 * MT/s. My PC has 6000MT/s DDR5 in a dual channel config so thatd be 192GBps.
Idk how apple is getting above 300GBps, maybe theyre counting the integrated GPU as part of the total. GPUs often have 4 or 6 or 8 channels so thatd make sense…