@mickmackusa user names get a lot of leeway. That is borderline but I don't think it crosses the R/A line. That said I don't think you'd get dinged if you mod flagged.
@mickmackusa dunno what it was but it's innocent now; I guess your flag was effective
@miken32 another one closed and reopened by a gold badger whose identity I don't want to discuss further in this room
should a room owner retire the request? it was closed so technically the cv-pls was already fulfilled, and also we probably don't want to risk having it go through another round
there is some rationale in comments for the reopen and I'm not competent to judge whether it should be closed as typo instead or etc
Oh, btw, @mickmackusa, while I've got you... was that failure to not return search results for answers whose questions you've retagged something that worked sometimes, or does it never actually update the tags for answers at all?
@RyanM I can't really say. I've left that query batch. My new one has 160 x 20 pages to curate. As I whittle it down, I'll let you know if things don't disappear as expected.
if you feel like it's not obvious without a comment then it should be a mod flag. A mod could dismiss a spam flag on a question like this without knowing more
plus in this case it was wise to destroy the spammer account
i also don't completely understand their intended result O.o
if they're just wanting to sort customers by region into separate arrays of customers, great, but what they've provided doesn't do that
it's just a manual assignment
so i don't see this as a "My solution sucks is there a better way", moreso i see it as "How can i solve this problem" and the best/most efficient wording is just fluff.
I guess you could make the question "How can I construct a bi-directional map without iterating through the list manually creating the Objects/Maps for each property, or converting the customerData to an array and using .filter( (as that seems heavy)?"
not sure if that makes sense. I'd ask someone better at JS to decide of that accurately describes what they're asking and whether it even makes sense to ask
it does make sense, it's just... a question that includes the answer
.filter is heavy because you need to iterate over the whole collection for each different thing you want to filter
naturally then the solution is to loop once
:shrug:
as far as updates being a problem, if each "customer" is passed by reference, then updates to the initial object will update what is stored in the sub collections as well
again, :shrug:, like anything else it's just a... make the data structure do what your project needs it to do