Ticket #2187 (new bug)

Opened 10 years ago

Last modified 10 years ago

"Constant Table" is misleading

Reported by: plobsing Owned by:
Priority: normal Milestone:
Component: core Version: 3.7.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

There are multiple senses of constant when it comes to Parrot:

  • an item declared as const in the source
  • an item that is readonly
  • an object whose lifetime is eternal
  • an item whose reference does not change (but whose dereferenced value may change)
  • ...

These differing senses confound us when discussing or reasoning about something refered to as "constant". Therefore, we should drop the use of the term constant where possible, and "constant table" is one place I think we could.

Various alternatives have been proposed:

  • object table
  • pmc table (string table for strings, num table for nums)
  • object pool
  • packfile store
  • packfile $x (always be explicit about the packfile)

More suggestions are welcome.

Change History

Changed 10 years ago by jkeenan

  • component changed from none to core
Note: See TracTickets for help on using tickets.