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
@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
@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 This content has been proxied by September (3851b).Proxy Information
text/gemini