Natools

Check-in [ec19d3153c]
Login
Overview
Comment:smaz_generic: brind the predicate back as a separate function

Since Smaz dictionaries are meant to be global hard-coded constant objects, it makes sense to check the precondition only once, e.g. in a test suite, and not for each and every subprogram call.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ec19d3153c5a00753d16e48b082c52910c5d07a2
User & Date: nat on 2016-12-14 20:01:08
Other Links: manifest | tags
Context
2016-12-15
20:12
tools/smaz: use the new validation function instead of ad-hoc code check-in: 3a95d52c86 user: nat tags: trunk
2016-12-14
20:01
smaz_generic: brind the predicate back as a separate function

Since Smaz dictionaries are meant to be global hard-coded constant objects, it makes sense to check the precondition only once, e.g. in a test suite, and not for each and every subprogram call. check-in: ec19d3153c user: nat tags: trunk

2016-12-13
22:09
smaz_generic: remove the too-costly dynamic predicate check-in: 7ae85f4e93 user: nat tags: trunk
Changes

Modified src/natools-smaz_generic.ads from [8876c91a07] to [90fa9f96a9].    [diff]