Functional syntax (Was: RE: [mercury-users] Hi, and determini sm)
Richard A. O'Keefe
ok at atlas.otago.ac.nz
Wed Feb 7 15:21:16 AEDT 2001
Thomas Conway <conway at cs.mu.OZ.AU> provided an excellent example of
space-saving, which however did not use bitfields. The space saving
came from eliminating certain fields entirely because their values
could be determined by other means.
Has anyone an example where packing below the byte level would save
useful amounts of memory, in Mercury?
I used to program in Burroughs Algol, BLISS-10, and Progol, all of which
had bitfields more-or-less along the lines of
integer_variable.[offset:width]
I'm so glad I don't have to do that any more.
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list