Bug 2222 – spec does not specify when md5 symbol compression is used

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2008-07-12T20:27:00Z
Last change time
2014-03-01T00:36:09Z
Keywords
spec
Assigned to
bugzilla
Creator
tomas

Comments

Comment #0 by tomas — 2008-07-12T20:27:52Z
would be nice if the spec could state the maximum length of a symbol name before md5 compression is put to use.
Comment #1 by bugzilla — 2008-08-07T18:20:29Z
There isn't really a fixed length, as the compiler first tries to compress the identifier. If that fails to get it small enough, then it does the md5 hash. But it shouldn't be part of the spec, as it's an implementation issue.