--
Get 10% off of the regular price for this years CFCamp in Munich, Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-2016/discount/Lucee@cfcamp
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/b99e5590-63bf-41ef-986c-e86e74c93368%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/b23c5bba-3984-42f3-9101-a10940a1db86%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/388b678f-85dc-4292-bc45-bfbbb86c7595%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/93b8b6d0-f4a2-49da-97f8-1db7032960e8%40googlegroups.com.
My biggest issue with this construct:
id = structKeyExists(this.data, key) ? this.data[key] : 0;
Is that if the key exists -- we do a hash lookup twice, which simply means that the operation, albeit fast, takes twice as long as it should.
I recommend trying this construct instead:Igal Sapir
Lucee Core Developer
Lucee.org
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/969B71E6-5720-4898-9746-274978F0BB66%40rasia.ch.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/00769c45-2a93-a4de-c009-fa0bae5094c9%40lucee.org.