Matthieu Rolland
Matthieu Rolland
I can't replicate this behavior on my machine, it works fine. But I'm on mac os and you seem to be on windows, that could be why. I'll try to...
> > LIMIT clause in SQL has virtually no performance benefit, because the database has to execute the query fully anyway, and then just cuts the final processed result. >...
@kpodemski & @Hlavtox About the array_slice: https://stackoverflow.com/questions/6153307/array-slice-with-negative-offset-on-huge-arrays Apparently, using a for loop instead of an array slice, on 1 million elements, this guy goes from 2.5689ms to 0.0031ms Could be...
> * At most `2014 ms` to select it without a limit. And I am sure that 99% of that 14 ms is the actual select time, not the transfer....
> I agree with @fabienvallon. I share your opinion @alfonsolr09 that's a problem that the merchant is penalized. But as the problem is "Customers do not usually modify the stars...
> @matthieu-rolland I tried to review, but if I click "Files changed" to see changes I see a lot of fails for example "Offset 'cart' on array{} on left side...
> Not sure what is the purpose of this, why would anyone completely rebuild these variables? let's say I want to set the cart data with my own logic... if...
> @matthieu-rolland Hm hm hm. Could you expand on the usecase you need to implement? Maybe there would be other universal ways. Like you said, maybe hooking into the presenters,...
> @matthieu-rolland Oh, I understand now. > > Matthieu, I suggest looking at it from a different perspective. Shouldn't we optimize the cart? Currently, with like 50 products in it,...
I mean even without talking about the cart... the ability to define what this global JS object will contain, without having to redefine its elements twice, is a nice feature...