Ancestors

Toot

Written by Nick Anderson on 2024-10-25 at 18:51

It's #CFEngine Feature Friday time again :D. We are closing in on the end, only 9 more to go.

For #33 (of 42) I wrote about a benefits of associative arrays (aka classic arrays) over data containers. https://cfengine.com/blog/2024/feature-friday-33-why-associative-arrays-when-data-containers-exist/

=> More informations about this toot | More toots from nickanderson@fosstodon.org

Descendants

Written by Теодор Златанов / Ted Zlatanov on 2024-10-26 at 00:57

@nickanderson one nasty detail is that classic arrays are super slow because every entry is actually a standalone variable. I once sped up a policy using thousands of classic arrays by replacing them with JSON data containers from 15+ minutes to 10-20 seconds.

=> More informations about this toot | More toots from tzz@infosec.exchange

Written by Nick Anderson on 2024-10-26 at 01:24

@tzz yeah for sure, slurping in a large amount of data can be much more efficient. And functions like classfiltercsv() can provide nice context based filtering much faster than via iteration in policy.

=> More informations about this toot | More toots from nickanderson@fosstodon.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113369567106669639
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
260.519555 milliseconds
Gemini-to-HTML Time
0.469761 milliseconds

This content has been proxied by September (3851b).