-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update arraynew.json #1645
Update arraynew.json #1645
Conversation
Correct default value for isSynchronized argument; remove no longer working link to Adobe white paper; correct Create unsynchronized array example. Reference: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/arraynew.html
@pczarn2 - did you check to see if there is another link to that PDF, perhaps archive.org may have it? |
@pfreitag Adobe's own website has the link, but that link is broken (https://helpx.adobe.com/coldfusion/white-papers.html). Archive.org has the webpage, but the link to PDF is broken there as well. There were other pages that have the same broken link. I did find some working links here, but it's in Japanese, so not too useful to me :) Not sure where else to check. |
We should be careful about citing performance stats, whilst it makes theoretical sense, it seems to be way overstated? https://trycf.com/gist/7e7c04ef1614adf9bea423f67d0e007a/lucee5?theme=monokai I see little difference in this little microtest with 50k appends? also seems the named parameters don't work in ACF 2023? (there's also acf uses dimensions, lucee has dimension) |
@KamasamaK Thanks for finding the reference! @zspitzer without named params, this code works with ColdFusion engines: |
Updated link to CF2016 Performance study pdf
@pfreitag Pete, I added back the link with the archived version @KamasamaK found. Can you merge the change? |
I am seeing that named parameters are working fine in ACF 2023. You are correct about the name difference with Lucee. Seems like the addition of an alias would be the way to go there.
I am surprised that works in Lucee as well since Lucee has |
Merged the PR thanks @pczarn2! Though I am now wondering if the performance is quite overstated based on what @zspitzer is saying but also on an article I found where @aliaspooryorik tested the feature, and didn't see much difference: https://coldfusion.adobe.com/2019/03/look-unsynchronised-arrays-cfml/ At the very least we should probably add an allegedly to the performance claims. |
Aka, here's a useless rabbit hole, enjoy! |
Yeah - I did ask how they got that 90% performance increase but didn't hear back so none the wiser I'm afraid! |
Correct default value for isSynchronized argument; remove no longer working link to Adobe white paper; correct Create unsynchronized array example. Reference: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/arraynew.html