make_shared_string

ldmud-3.2.9/doc/efun/make_shared_string · 459 B

From the archive ldmud-329.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        string make_shared_string (string str)

DESCRIPTION
        Puts <str> in _the_ list of shared strings of the game.

        If the string is used by several variables/objects this
        saves memory. Keys of alists and mappings are always shared
        strings.

BUGS
        A better string handling in the driver should make this
        efun unnecessary.

HISTORY
        Introduced in LDMud 3.2.6; following a suggestion from TubMud.

Site Stats

Snippets: 1791
Codebases: 571